Learn more about the Oracle Linux Yum Server
A: The steps to get started, including checking you system for the new modular yum setup, are described here: Getting started
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
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.
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>
A: You can read more about Oracle Linux Support at oracle.com/linux/support.
A: You can read more about Oracle VM here. For technical information about Oracle VM, see the Oracle VM product page on OTN
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
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.
A: See the Oracle Linux documentation: Using Yum from the Command Line For Oracle Linux 8: Using DNF From the Command Line
A: To subscribe to Oracle Linux errata notifications via email, go here.
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.A: Download and verify the Oracle Linux GPG Key that best matches your RHEL-compatible release and then follow the Getting Started instructions.
# 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]
# 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]
# 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
# 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
# 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]
# 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]
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:
# 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
Oracle Linux 8:
# dnf reposync --download-path <download path> --download-metadata
Oracle Linux 7:
# reposync --download_path <download path> --download-metadata
A:To create local mirrors of repositories on https://yum.oracle.com/ using rsync, follow these directions:
a. example: yum install rsync
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
a. rsync -avr rsync://yum-rsync.oracle.com/repo/OracleLinux/OL8 /OL8
  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/
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 »