Thursday 28 May 2015

How to configure YUM on Oracle Linux


How to configure YUM on Oracle Enterprise Linux?

This is an example for Enterprise Linux 6:

go to the directory /etc/yum.repos.d and edit the file public-yum-el5.repo

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

Open the yum configuration file in a text editor:
vi public-yum-el5.repo
Change enabled=0 to enabled=1 from the repository you need.

If you have other Linux installtions, then go to http://public-yum.oracle.com/ for instructions on how to configure the yum repository for other Linux versions.

Now we can try it!
yum list
yum install firefox