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 http://public-yum.oracle.com, follow the steps below :
- Login as user root
- Download the yum repo file from http://public-yum.oracle.com
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo
- 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
- 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