2.3.3 Downloading the Oracle Linux Yum Server Repository Files

The Oracle Linux yum server provides a direct mapping of all of the Unbreakable Linux Network (ULN) channels that are available to the public without any specific support agreement. The repository labels used for each repository on the Oracle Linux yum server map directly onto the channel names on ULN. See the Oracle Linux Unbreakable Linux Network User's Guide for more information about the channel names and common suffixes used for channels and repositories.

To download the Oracle Linux yum server repository configuration file, use the wget utility:

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

Substitute release with the appropriate release value for your operating system. For example, to download the latest repository list for Oracle Linux 6:

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

For more information on manually setting up Oracle Linux yum server repository configuration files, see https://yum.oracle.com/getting-started.html.

You can enable or disable repositories in the file by setting the value of the enabled directive to 1 or 0 for each repository listed in the file, as required.