2.1 Checking a System for Modular Yum

To check that your system is using the new modular yum configuration, perform the following actions:

  1. Check that you have the appropriate base oraclelinux-release-rel package installed for your Oracle Linux release. For example, on Oracle Linux 7, do:

    # rpm -q oraclelinux-release-el7
  2. Check that you do not have an old monolithic public-yum-rel.repo yum repository configuration file enabled. For example, on Oracle Linux 7, do:

    # ls /etc/yum.repos.d/public-yum-ol7.repo
    ls: cannot access /etc/yum.repos.d/public-yum-ol7.repo: No such file or directory

    If this file exists and you have the base oraclelinux-release-rel package installed, you may still need to run the /usr/bin/ol_yum_configure.sh script. See Section 2.2, “Updating to Modular Yum”.

If your system is already configured to use the modular yum configuration system, no additional action is required and you can install additional yum repository configuration files, as needed, by following the instructions in Section 2.3, “Installing Additional Repository Configurations”.