4.3 Enabling Access to Oracle Linux Yum Server Repositories

At the Oracle Linux yum server repository at https://yum.oracle.com/, the kernel image and user space packages are available on the following repositories for Oracle Linux 7:

  • ol7_latest (latest user space packages for Oracle Linux 7 other than the RDMA tool packages)

  • ol7_UEKR5 (kernel-uek*, dtrace-utils*,ndctl-*, btrfs-progs-* and xfsprogs-*)

To enable access to the Oracle Linux 7 repositories on the Oracle Linux yum server, use yum-config-manager. For example, to enable access to the ol7_latest and ol7_UEKR5 repositories, run the following:

# yum-config-manager --enable ol7_latest,ol7_UEKR5

You can only use yum-config-manager to enable or disable repositories where you already have a configuration file for the specified repository. Repository configurations are typically stored in /etc/yum.repos.d. You can download the latest copy of a suitable repository file for Oracle Linux 7 from https://yum.oracle.com/public-yum-ol7.repo. For example:

# wget https://yum.oracle.com/public-yum-ol7.repo -O /etc/yum.repos.d/public-yum-ol7.repo

Alternatively, edit /etc/yum.conf or create a repository file in the /etc/yum.repos.d directory, to ensure that the following entries exist:

name=Oracle Linux $releasever Latest ($basearch)

name=Oracle Linux $releasever Unbreakable Enterprise Kernel Release 5 ($basearch)

To enable a channel, set the value of the enabled parameter for the channel to 1.

To disable a channel, set the value of the enabled parameter for the channel to 0.

You can find more information about installing the software at https://yum.oracle.com/.