Oracle provides a public YUM repository for OEL. The repository contains OEL 4, 5 and 6 releases, and relevant updates and add-ons.
This yum server only offers the packages already provided on the Oracle Linux and Oracle installation media. To access security updates and other patches or enhancements, you should use Unbreakable Linux Network (ULN).
Below are a few simple steps to setting up Oracle’s public repository:
To add OEL 5 update 5 repositories, for example (as root):
1. cd /etc/yum.repos.d
2. wget http://public-yum.oracle.com/public-yum-el5.repo
3. edit the generated *.repo file:
– Set the enabled flag to ’1′ for each repository needed (probably update 5 for most uses)
- You can use ‘ed’ (ed <filename>.repo) and do a “s/0/1/” to replace the relevant zeros with ones.
A few simple steps and you should be on your way with ‘yum’ and Oracle’s public repository.
This repository is provided by Oracle for free and comes with no support.
For support, you can visit the Oracle Technology Network Linux Forum.