Wednesday, 4 April 2018

Downloading the Oracle Linux Yum Server Repository Files

 

Note

The following procedure assumes that yum on your system is configured to expect to find repository files in the default /etc/yum.repos.d directory.
To download the Oracle Linux Yum Server repository configuration file:
  1. As root, change directory to /etc/yum.repos.d.
    # cd /etc/yum.repos.d
  2. Use the wget utility to download the repository configuration file that is appropriate for your system.
    # wget http://yum.oracle.com/public-yum-release.repo
    For Oracle Linux 7, enter:
    # wget http://yum.oracle.com/public-yum-ol7.repo
    The /etc/yum.repos.d directory is updated with the repository configuration file, in this example, public-yum-ol7.repo.
  3. You can enable or disable repositories in the file by setting the value of the enabled directive to 1 or 0 as required.

No comments:

Post a Comment