Setting up Oracle Linux 5.6 with Public-yum for all updates

The Oracle public yum server offers a free and convenient way to install the latest Oracle Linux packages as well as packages from Oracle VM installation media via a yum client.

To setup up Yum to start using the updates published on, follow the steps below :

  1. Login as user root
  2. Download the yum repo file from
    # cd /etc/yum.repos.d
    # wget
  3. Enable the appropriate repository by editing the yum configuration file that was downloaded. Set the enabled=1 to enable the appropriate repository.
    # vi public-yum-el5.repo
  4. Run yum reposlist to show the registered channels and you see we are including everything including the latest published RPMS
    # yum repolist


Type # yum –help for help on yum command and options


Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.