Public Yum Server: Oracle Linux 7
Public Yum Server: Oracle Linux 7
Introduction
The Oracle public yum server offers a free and convenient way to install the latest Oracle Linux packages as well as
packages from the Oracle VM installation media via a yum client.
You can download the full Oracle Linux and Oracle VM installation media via edelivery.oracle.com/linux. To stay
current on errata updates, you may wish to subscribe to the Oracle Linux errata mailing list.
This yum server is offered without support of any kind. If you require support, please consider purchasing Oracle
Linux Support via the online store, or via your sales representative.
Getting Started
1.
2.
Download and copy the appropriate yum configuration file in place, by running the following commands as
root:
Oracle Linux 7
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol7.repo
Oracle Linux 6
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol6.repo
Oracle Linux 5
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo
Oracle VM 2
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ovm2.repo
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-openstack-ol6.repo
3.
4.
Locate the section in the file for the repository you plan to update from, e.g. [el4_u6_base]
You may be prompted to confirm the import of the Oracle OSS Group GPG key.