How to setup Public-yum for all updates on Oracle Linux 6

After Installing Oracle Linux from ISO or DVD media
Login as 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-ol6.repo

Once the public repo file is downloaded

Update the repository using below command
# yum repolist

To list package
# yum list packagename

To install package
# yum install packagename

One thought on “How to setup Public-yum for all updates on Oracle Linux 6”

Leave a Reply

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