Differences between revisions 2 and 3
Revision 2 as of 2017-04-25 21:20:12
Size: 263
Editor: SamatJain
Comment:
Revision 3 as of 2017-04-25 22:52:51
Size: 1221
Editor: SamatJain
Comment: Notes on EPL and SCL
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Various notes on CentOS and Redhat Enterprise Linux (RHEL).
Line 3: Line 5:
 * https://fedoraproject.org/wiki/EPEL Information about EPEL: https://fedoraproject.org/wiki/EPEL
Line 5: Line 7:
More up to date: {{{#!highlight sh
yum install -y epel-release yum-utils
# Enable testing repository
yum-config-manager --enable epel-testing
}}}
Line 7: Line 13:
 * https://ius.io/ Inline with Upstream Stable (IUS) at https://ius.io/ is typically much more up-to-date. It automatically will pull in epel-release as a dependency.

{{{#!highlight sh
yum install -y https://centos6.iuscommunity.org/ius-release.rpm
}}}

Packages like python35u-pip, etc will be available.
Line 11: Line 23:
Packages must manually enabled with the `scl` tool. Software Collections is another Redhat-supported project for installing newer software on older enterprise distributions. See https://www.softwarecollections.org/en/ for more information
Line 13: Line 25:
https://www.softwarecollections.org/en/ Redhat's Developer Toolset (see [[CheatSheet/Gcc]]) is available as a Software Collection, and apparently is the preferred way to use it.

For example, Redhat-supplied Python 3.5 w/ pip:

{{{#!highlight sh
yum install -y centos-release-scl-rh
yum install -y rh-python35 rh-python35-python-pip
source scl_source enable rh-python35
}}}

TODO: Find documentation on `scl` command.

Various notes on CentOS and Redhat Enterprise Linux (RHEL).

Extra Packages for Enterprise Linux (EPEL)

Information about EPEL: https://fedoraproject.org/wiki/EPEL

   1 yum install -y epel-release yum-utils
   2 # Enable testing repository
   3 yum-config-manager --enable epel-testing

Inline with Upstream Stable (IUS) at https://ius.io/ is typically much more up-to-date. It automatically will pull in epel-release as a dependency.

   1 yum install -y https://centos6.iuscommunity.org/ius-release.rpm

Packages like python35u-pip, etc will be available.

Software Collections

Software Collections is another Redhat-supported project for installing newer software on older enterprise distributions. See https://www.softwarecollections.org/en/ for more information

Redhat's Developer Toolset (see CheatSheet/Gcc) is available as a Software Collection, and apparently is the preferred way to use it.

For example, Redhat-supplied Python 3.5 w/ pip:

   1 yum install -y centos-release-scl-rh
   2 yum install -y rh-python35 rh-python35-python-pip
   3 source scl_source enable rh-python35

TODO: Find documentation on scl command.

SamatsWiki: CentOS (last edited 2017-04-25 22:58:38 by SamatJain)