Frequently Asked Questions

Learn more about the Oracle Linux Yum Server

  • Home > 
  • Frequently Asked Questions

Frequently Asked Questions

  1. Where can I learn more about the new modular yum repository configurations?
  2. I cannot find a specific older version of a package in the Latest channel for Oracle Linux. Where can I find it?
  3. How do I use Oracle Linux yum server if my system is behind a proxy server?
  4. Where can I learn more about Oracle Linux?
  5. Where can I learn more about Oracle Linux Support?
  6. Where can I learn more about Oracle VM?
  7. Where can I find the source code for these binaries?
  8. Where can I get help getting this yum repository to work?
  9. Where can I learn more about using yum and dnf?
  10. How can I be notified of Oracle Linux Errata?
  11. How can I use the Oracle Linux yum server to update Oracle VM 3 Server?
  12. How can I convert a RHEL, CentOS or RHEL-compatible system to Oracle Linux with Oracle Linux yum server?
  13. How can I mirror the Yum channels using reposync?
  14. How can I mirror the Yum channels using rsync?

Where can I learn more about the new modular yum repository configurations?

A: The steps to get started, including checking you system for the new modular yum setup, are described here: Getting started

I cannot find a specific older version of a package in the Latest channel for Oracle Linux. Where can I find it?

A: The Latest channel for each Oracle Linux release contains only the set of packages from the most recent release as distributed on the installation media for that release (available on Oracle Software Delivery Cloud) together with all updated packages (errata) following that release. All packages that do not match these criteria are moved to the Archive channel. As such, when a new minor release of Oracle Linux becomes available, the Latest channel is brought up to date with the set of packages that ship on its installation media.

To install a version of a package no longer available in the Latest channel, enable the Archive channel corresponding to your Oracle Linux release and use yum to install the package. For example, for Oracle Linux 7:

      sudo yum install -y yum-utils
      sudo yum-config-manager --enable ol7_latest_archive
      sudo yum install yum install httpd-2.4.6-67.0.1.el7

Where can I learn more about Oracle Linux?

A: You can read a summary of Oracle Linux features and specifications. Additional technical information about Oracle Linux is available on OTN's Oracle Linux Technology Center.

How do I use Oracle Linux yum server if my system is behind a proxy server?

A: To configure yum to use a proxy for all users on a systen, add your proxy server details to /etc/yum.conf. Note that both a http://or https:// prefix and TCP port are required.

     proxy=http://proxy.mydomain.com:8080

If your proxy server requires authentication, add these settings to /etc/yum.conf:

      proxy_username=<proxy username>
      proxy_password=<proxy password>

To configure a proxy server for a single user or session, set the https_proxy or http_proxy environment variable and optionally add these settings to ~/.bash_profile. Note that a protocol prefix is optional:

      https_proxy=proxy.mydomain.com:8080
      export https_proxy

If you've configured proxy settings for a non-root user or session only, remember that many yum commands require root privileges. So, when using sudo, you must use -E to preserve the existing environment. For example:

      sudo -E yum install <some package>

Where can I learn more about Oracle Linux Support?

A: You can read more about Oracle Linux Support at oracle.com/linux/support.

Where can I learn more about Oracle VM?

A: You can read more about Oracle VM here. For technical information about Oracle VM, see the Oracle VM product page on OTN

Where can I find the source code for these binaries?

A: Individual source packages can be downloaded directly from this yum server. Source ISOs containing all source packages for Oracle Linux are available on our Installation Media download page. Source ISOs for Oracle VM are available on Software Delivery Cloud

Where can I get help getting this yum repository to work?

A: This yum server is provided for free and without support. You may use the Oracle Linux Community, where fellow users are ready and willing to help.

Where can I learn more about using yum and dnf?

A: See the Oracle Linux documentation: Using Yum from the Command Line For Oracle Linux 8: Using DNF From the Command Line

How can I be notified of Oracle Linux Errata?

A: To subscribe to Oracle Linux errata notifications via email, go here.

How can I use the Oracle Linux yum server to update Oracle VM 3 Server?

A: To update Oracle VM Server to 3.2.x using the Oracle Linux yum server, use http://yum.oracle.com/repo/OracleVM/OVM3/latest/x86_64/ as YUM Base URL and http://yum.oracle.com/RPM-GPG-KEY-oracle-el5 as YUM GPG Key in Oracle VM Manager. For details please refer to Oracle VM Installation and Upgrade Guide for Release 3.2.

To upgrade from Oracle VM Server 3.2 or 3.1 to Oracle VM Server 3.3, please refer to Oracle VM Installation and Upgrade Guide for Release 3.3 for detailed instructionss, and please do not use the Oracle Linux yum server directly.

To update Oracle VM Server 3.3 to the latest 3.3.x using the Oracle linux yum server use http://yum.oracle.com/repo/OracleVM/OVM3/3x_latest/x86_64/ as YUM Base URL and http://yum.oracle.com/RPM-GPG-KEY-oracle-ol6 as YUM GPG Key in Oracle VM Manager. For details please refer to Oracle VM Installation and Upgrade Guide for Release 3.3.

How can I convert a RHEL, CentOS or RHEL-compatible system to Oracle Linux with Oracle Linux Yum Server?

A: Download and verify the Oracle Linux GPG Key that best matches your RHEL-compatible release and then follow the Getting Started instructions.

Red Hat Enterprise Linux 4, Update 6 or Compatible

              
              # wget https://yum.oracle.com/RPM-GPG-KEY-oracle-el4 -O /usr/share/rhn/RPM-GPG-KEY-oracle
              # gpg --quiet --with-fingerprint /usr/share/rhn/RPM-GPG-KEY-oracle
              pub  1024D/B38A8516 2006-09-05 Oracle OSS group (Open Source Software group) <build@oss.oracle.com>
                   Key fingerprint = 1122 A29A B257 825F 322C  234E 2E2B CDBC B38A 8516
              sub  2048g/0042D4F4 2006-09-05 [expires: 2011-09-04]
              
            

Red Hat Enterprise Linux 5 or Compatible

              
              # wget https://yum.oracle.com/RPM-GPG-KEY-oracle-el5 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
              # gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
              pub  1024D/1E5E0159 2007-05-18 Oracle OSS group (Open Source Software group) <build@oss.oracle.com>
                    Key fingerprint = 99FD 2766 28EE DECB 5E5A  F5F8 66CE D3DE 1E5E 0159
              sub  1024g/D303656F 2007-05-18 [expires: 2015-05-16]      
              
            

Red Hat Enterprise Linux 6 or Compatible

              
              # wget https://yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
              # gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
              pub  2048R/EC551F03 2010-07-01 Oracle OSS group (Open Source Software group) <build@oss.oracle.com>
                    Key fingerprint = 4214 4123 FECF C55B 9086  313D 72F9 7B74 EC55 1F03
              
            

Red Hat Enterprise Linux 7 or Compatible

              
              # wget https://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
              # gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
              pub  2048R/EC551F03 2010-07-01 Oracle OSS group (Open Source Software group) <build@oss.oracle.com>
                    Key fingerprint = 4214 4123 FECF C55B 9086  313D 72F9 7B74 EC55 1F03
              
            

Red Hat Enterprise Linux 8 or Compatible

              
              # wget https://yum.oracle.com/RPM-GPG-KEY-oracle-ol8 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
              # gpg --import --import-options show-only /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
              pub   rsa4096 2019-04-09 [SC] [expires: 2039-04-04]
                    76FD3DB13AB67410B89DB10E82562EA9AD986DA3
              uid                      Oracle OSS group (Open Source Software group) 
              sub   rsa4096 2019-04-09 [E] [expires: 2039-04-04]
              
            

Red Hat Enterprise Linux 9 or Compatible

              
              # wget https://yum.oracle.com/RPM-GPG-KEY-oracle-ol9 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
              # gpg --quiet --keyid-format 0xlong --with-fingerprint RPM-GPG-KEY-oracle
               pub  4096R/0xBC4D06A08D8B756F 2022-01-19 Oracle Linux (release key 1) 
                     Key fingerprint = 3E6D 826D 3FBA B389 C2F3  8E34 BC4D 06A0 8D8B 756F
               sub  4096R/0xCEA2C8752E708C25 2022-01-19 [expires: 2041-06-01]
               pub  4096R/0xA7DD07088B4EFBE6 2022-01-19 Oracle Linux (backup key 1) 
                     Key fingerprint = 9822 3175 9C74 6706 5D0C  E9B2 A7DD 0708 8B4E FBE6
               sub  4096R/0x16E38751DA900791 2022-01-19 [expires: 2041-06-02]
              
            

How can I mirror the Yum channels using reposync?

A:The latest YUM repository files are hosted at https://yum.oracle.com/mirror

To create local mirrors of repositories on yum.oracle.com, follow these directions:

  • Download the repository files for those repos you want to synchronize to /etc/yum.repos.d directory, using curl or wget
    For example:
    # wget https://yum.oracle.com/mirror/ol8/x86_64/oracle-linux-ol8-x86_64.repo -O /etc/yum.repos.d/oracle-linux-ol8-x86_64.repo
    Or
    # curl https://yum.oracle.com/mirror/ol8/x86_64/oracle-linux-ol8-x86_64.repo -o /etc/yum.repos.d/oracle-linux-ol8-x86_64.repo


  • In each .repo file, change enabled=0 to enabled=1 for the repositories you want to sync

  • If you plan to sync repositories for multiple architectures, be sure to update repository names to avoid duplicates

  • Start the download using the reposync command, for example:
    Oracle Linux 8:
    # dnf reposync --download-path <download path> --download-metadata

    Oracle Linux 7:
    # reposync --download_path <download path> --download-metadata

Note: This option is deprecated. Please follow Yum channels mirroring using rsync.


How can I mirror the Yum channels using rsync?

A:To create local mirrors of repositories on https://yum.oracle.com/ using rsync, follow these directions:

  1. From the host where your repo content will reside, create a directory where your repo data will be stored.

  2. Install the rsync package from yum.oracle.com
    a. example: yum install rsync

  3. When downloading content, the url is broken into 3 parts:
    a. the rsync endpoint: rsync://yum-rsync.oracle.com/repo
    b. the product: OracleLinux or Oracle VM
    c. the product release: OL8
    d. example for path to oracle Linux 8 repo:
       rsync://yum-rsync.oracle.com/repo/OracleLinux/OL8


  4. The following example highlight how to copy the contents of the Oracle Linux 8 repo (from source) to the OL8 data directory on the host (destination):
    a. rsync -avr rsync://yum-rsync.oracle.com/repo/OracleLinux/OL8 /OL8

  5. If customer chooses to host this on a website, make sure the destination path is valid for the web server used.
Note: The yum.oracle.com channels hosted on https://yum.oracle.com accessible with same path using rsync endpoint rsync://yum-rsync.oracle.com

For example, ol9_x86_64_baseos_latest channel:
  On yum.oracle.com:
    https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64/
  With rsync:
    rsync://yum-rsync.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64/


Getting Started

Oracle Linux Yum Server is pre-configured during installation of Oracle Linux 6 Update 3 or newer.

If you have an older version of Oracle Linux, you can manually configure your server to receive updates from the Oracle Linux Yum Server. Read more »

software.hardware.complete