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-*
andxfsprogs-*
)
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:
[ol7_latest] name=Oracle Linux $releasever Latest ($basearch) baseurl=https://yum.oracle.com/repo/OracleLinux/OL7/latest/$basearch/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1 [ol7_UEKR5] name=Oracle Linux $releasever Unbreakable Enterprise Kernel Release 5 ($basearch) baseurl=https://yum.oracle.com/repo/OracleLinux/OL7/UEKR5/$basearch/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1
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/.