Add Oracle public YUM server for Oracle RPMs

In case you need to install some Oracle rpm for compatible OS like Centos, RedHat or for Oracle Enterprise Linux just do following steps:

Enterprise Linux 5

Download repository configuration file

cd /etc/yum.repos.d
wget http://public-yum.oracle.com/public-yum-el5.repo 

once it’s done enable repository that you need

 vi public-yum-el5.repo
 Change enabled=0 to enabled=1 from the repository you need.

Enterprise Linux 6

Oracle Linux 6

cd /etc/yum.repos.d
wget http://public-yum.oracle.com/public-yum-ol6.repo 

once it’s done enable repository that you need

 vi public-yum-el6.repo
 Change enabled=0 to enabled=1 from the repository you need.

Verify it works

yum list
yum install firefox

More information on http://public-yum.oracle.com/

Have a fun 🙂

Tomasz

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.