How to configure YUM for Oracle Enterprise Linux (OEL) to install missing RPMs

I installed new Linux Server for our Oracle Access Manager (OAM) 11gR2 Admin Training (training starts on 3rd May and fee is 699 USD). This post covers steps to configure YUM so that you can install missing RPM (RPMs required for Oracle Database and Fusion Middleware).

1. Identify your Oracle Enterprise Linux version from enterprise-release file

cat /etc/enterprise-release

You should see entry like

Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)

Output above represents that version of Linux is 5.5

2. Next task is to download yum repository configuration file from Oracle Public Yum Server.

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

3. Enable yum for 5.5 (as our linux version is 5.5) in file /etc/yum.repos.d/public-yum-el5.repo by changing enabled from 0 to 1. Enable same as per your OEL version

[el5_u5_base]

name=Enterprise Linux $releasever Update 5 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/5/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

 

4. Install packages in Oracle Linux as shown below

yum list

yum install [package_name]


Related

 

You can register for our Oracle Access Manager (OAM) 11gR2 Admin Training(Fee is 699 USD), Contact Us if you have any queries regarding training or Oracle Identity & Access Management.

About the Author Masroof Ahmad

Leave a Comment:

2 comments
Add Your Reply