how to install oracle linux packages for oracle 11g installation in RHEL5, if not registered to redhat

I have seen people struggling to install oracle linux packages on RHEL 5. You can install all the rpm required for oracle installation without getting registered on redhat website. You just need to install yum package and replace the configuration file and then install the packages.

Install the rpm package from  RHEL 5 DVD. Then,, download and copy the appropriate yum configuration file in place, by running the following commands as root:
Navigate to below directory as root:
cd /etc/yum.repos.d

Then run the below command:

Note: If you have any other repository file in /etc/yum.repos.d directory, then remove that file or move it to another directory.

Then, enable the appropriate repository by editing the yum configuration file
-> Open the yum configuration file in a text editor
-> Locate the section in the file for the repository you plan to update from, e.g. [el5_oracle_addons, el5_addons]
-> Change enabled=0 to enabled=1

and save the file.

Then run the below command:

yum update binutils elfutils elfutils-libelf gcc gcc-c++ glibc glibc-common glibc-devel compat-libstdc++-33 cpp make compat-db sysstat libaio libaio-devel unixODBC unixODBC-devel

This will update all the packages you need for oracle 11g installation on RHEL5.

Leave a comment

Filed under Linux, Oracle

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s