OEL and RHEL yum rpm repos

Oracle Enterprise Unbreakable Linux OEL public yum repository

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

then edit (nano,vi) /etc/yum.repos.d/el5.repo and change enabled=0 to enabled=1 for each repo

Edit yum.conf
To prevent getting the error
Missing Dependency: /etc/enterprise-release is needed by package initscripts-8.45.30-2.0.1.el5.i386 (installed)

you may need to edit yum.conf and add
exclude=kernel* up2date* initscripts* centos-release*


Run yum
You can then run yum on your OEL or RHEL system
# yum clean all
# yum install yum-priorities
# yum install pidgin


and you should see rpms being installed from both your suppliers repos
Dependencies Resolved

Package                   Arch            Version                   Repository              Size

Installing:
 pidgin                    i386            2.6.3-2.el5               updates                1.4 M
Installing for dependencies:
 cyrus-sasl-md5            i386            2.1.22-5.el5              el5_u4_base             46 k
 gtkspell                  i386            2.0.11-2.1                el5_u3_base             29 k
 libpurple                 i386            2.6.3-2.el5               updates                7.6 M
 libsilc                   i386            1.0.2-2.fc6               base                   412 k
 meanwhile                 i386            1.0.2-5.el5               base                   108 k

Transaction Summary

Install      6 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 9.7 M



REFERRERS
YumRepos
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki