5.3 Obtaining Packages from the Oracle Linux Installation Media

After installation, following these steps to configure yum to use the full installation ISO image as a repository for installing packages:

  1. Mount the full installation ISO image on a suitable mount point, such as /mnt:

    # mount -t iso9660 -o loop full_image.iso /mnt
  2. Create the file /etc/yum.repos.d/Media.repo that contains entries similar to the following:

    name=Oracle Linux 7 Base Media

    Adjust the value of the baseurl and gpgkey parameters to match the mount point of the ISO image on your system.

  3. Use the yum repolist command to check the repository configuration.