Oracle Linux Yum Server

Yum Server

Sometimes, you need to update single package on your Linux (Oracle – RedHat) and you have to search and find RPM file on this regard or compile the package from its source code.

But we are talking enterprise Linux servers that you can’t accept any risk of installing miscellaneous or unreliable package on your server.

So you need to have safe and secure source for installation or upgrade.

Maybe, you are thinking about YUM! Yes, you can update your application by run Yum but if your server has no connection to internet!

There is many solution for updating Linux packages but we are talking about a single application and some special conditions.

Hopefully, Oracle has a service that called “Yum Server” and the service is free for use by anyone. Oracle Yum Server offers you a free and convenient way to install the latest Oracle Linux packages as well as packages from the Oracle VM installation media via a yum client.

Please consider that this service deliver no support to you and just you can download updated packages from that.


Currently, the below repositories are available on Yum server:

Configuring the Oracle Linux Yum Server

The Oracle Linux Yum Server is pre-configured during installation of Oracle Linux 5 Update 7 or Oracle Linux 6 Update 3 or higher.

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

  1. Download and install Oracle Linux server.
  2. Download and copy the appropriate yum configuration file in place, by running the following commands as root:

Oracle Linux 7

# cd /etc/yum.repos.d
# wget

Oracle Linux 6

# cd /etc/yum.repos.d
# wget

Oracle Linux 5

# cd /etc/yum.repos.d
# wget

Oracle Linux 4, Update 6 or Newer

# cd /etc/yum.repos.d
# mv Oracle-Base.repo Oracle-Base.repo.disabled
# wget

Oracle OpenStack for Oracle Linux 2.0

# cd /etc/yum.repos.d
# wget
# yum install yum-plugin-priorities

Note: Make sure to enable ol7_optional_latest repository before installing yum-plugin-priorities on your system

Oracle OpenStack for Oracle Linux 1.0

# cd /etc/yum.repos.d
# wget

Oracle VM 2

# cd /etc/yum.repos.d
# wget

Linux for SPARC 1.0

# cd /etc/yum.repos.d
# wget
  1. By default, the latest repository is enabled. If you want to change the default, you can enable an alternative repository by editing the yum configuration file.
    • Open the yum configuration file in a text editor
    • Locate the section in the file for the repository want to enable, e.g. [el4_u6_base]
    • Change enabled=0 to enabled=1
  2. Begin using yum, for example:
    # yum list
    # yum install firefox

You may be prompted to confirm the import of the Oracle OSS Group GPG key.

You can find more information on the below link:

Oracle Linux Yum Server


Davoud Teimouri

Davoud Teimouri is as a professional blogger, vExpert 2015/2016/2017/2018/2019, VCA, MCITP. This blog is started with simple posts and now, it has large following readers.

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe to our newsletter and join other subscribers

Holler Box