1.5 Installing the Software Collection Library Utility From the Oracle Linux Yum Server

The scl-utils package, which provides the software collection library scl utility, is available in the Oracle Linux 6 and Oracle Linux 7 latest repositories on the Oracle Linux yum server.

The software collection packages are available in the Oracle Linux 6 and Oracle Linux 7 software_collections repositories:

To be able to use a software collection on an Oracle Linux 6 or Oracle Linux 7 system, you must install the scl utility on that system.

To install scl on a system:

  1. Ensure that your system is up to date and that you have transitioned to use the modular yum repository configuration by installing the oraclelinux-release-rel package and running the /usr/bin/ol_yum_configure.sh script. For example, on Oracle Linux 7 do:

    # yum install oraclelinux-release-el7
    # /usr/bin/ol_yum_configure.sh
  2. Enable the software_collections repository. For example, run:

    # yum-config-manager --enable software_collections

    If you are using Oracle Linux 7, ensure that the ol7_latest and ol7_optional_latest repositories are also enabled:

    # yum-config-manager --enable ol7_latest ol7_optional_latest

    If you are using Oracle Linux 6, ensure that the ol6_latest repository is also enabled:

    # yum-config-manager --enable ol6_latest
  3. Install the scl-utils package.

    # yum install scl-utils

    You can now install and use software collection packages on the system. See Section 1.6, “Installing a Software Collection From the Oracle Linux Yum Server” and Section 1.8, “Using the Software Collection Version of a Command”.