Installing Oracle on RHEL requires some necessary packages, such as binutils compat-db compat-libstdc++-33 control-center gcc gcc-c++ glibc, and so on. If one of the outfit, really very troublesome, fortunately with Yum and oracle-validated:
1 Configuration Yum Public-yum-el5.repo:
[Root@db56 yum.repos.d]# Cat Public-yum-el5.repo
[El5_ga_base]
Name=enterprise Linux $releasever ga-$basearch-base
baseurl=http://public-yum.oracle.com/repo/enterpriselinux/el5/0/base/$basearch/
Gpgkey=http://public-yum.oracle.com/rpm-gpg-key-oracle-el5
Gpgcheck=1
Enabled=0
[El5_u1_base]
Name=enterprise Linux $releasever u1-$basearch-base
baseurl=http://public-yum.oracle.com/repo/enterpriselinux/el5/1/base/$basearch/
Gpgkey=http://public-yum.oracle.com/rpm-gpg-key-oracle-el5
Gpgcheck=1
Enabled=0
[El5_u2_base]
Name=enterprise Linux $releasever u2-$basearch-base
baseurl=http://public-yum.oracle.com/repo/enterpriselinux/el5/2/base/$basearch/
Gpgkey=http://public-yum.oracle.com/rpm-gpg-key-oracle-el5
Gpgcheck=1
Enabled=0
[El5_u3_base]
Name=enterprise Linux $releasever u3-$basearch-base
baseurl=http://public-yum.oracle.com/repo/enterpriselinux/el5/3/base/$basearch/
Gpgkey=http://public-yum.oracle.com/rpm-gpg-key-oracle-el5
Gpgcheck=1
Enabled=0
[El5_u4_base]
Name=enterprise Linux $releasever u4-$basearch-base
baseurl=http://public-yum.oracle.com/repo/enterpriselinux/el5/4/base/$basearch/
Gpgkey=http://public-yum.oracle.com/rpm-gpg-key-oracle-el5
Gpgcheck=1
Enabled=0
[El5_u5_base]
Name=enterprise Linux $releasever u5-$basearch-base
baseurl=http://public-yum.oracle.com/repo/enterpriselinux/el5/5/base/$basearch/
Gpgkey=http://public-yum.oracle.com/rpm-gpg-key-oracle-el5
Gpgcheck=1
Enabled=1
[El5_addons]
Name=enterprise Linux $releasever-$basearch-addons
baseurl=http://public-yum.oracle.com/repo/enterpriselinux/el5/addons/$basearch/
Gpgkey=http://public-yum.oracle.com/rpm-gpg-key-oracle-el5
Gpgcheck=1
Enabled=1
[El5_oracle_addons]
Name=enterprise Linux $releasever-$basearch-oracle_addons
baseurl=http://public-yum.oracle.com/repo/enterpriselinux/el5/oracle_addons/$basearch/
Gpgkey=http://public-yum.oracle.com/rpm-gpg-key-oracle-el5
Gpgcheck=1
Enabled=1
2 Yum Install oracle-validated:
[root@db56 yum.repos.d]# Yum Install oracle-validated
Loaded plugins:security
Setting up Install Process
Resolving dependencies
--> Running Transaction Check
---> Package oracle-validated.x86_64 0:1.0.0-22.el5 set to be updated
El5_addons/filelists | MB 00:00
El5_oracle_addons/filelists | 3.1 KB 00:00
El5_u5_base/filelists | 3.0 MB 01:12
--> processing dependency:libxp.so.6 for package:oracle-validated
--> processing Dependency:/usr/lib/libodbccr.so for package:oracle-validated
--> processing dependency:unixodbc-devel for package:oracle-validated
--> processing Dependency:/usr/lib/libaio.so for package:oracle-validated
--> processing dependency:libaio-devel for package:oracle-validated
--> processing dependency:libdb-4.2.so () (64bit) for package:oracle-validated
--> Running Transaction Check
---> Package compat-db.x86_64 0:4.2.52-5.1 set to be updated
---> Package libxp.i386 0:1.0.0-8.1.el5 set to be updated
---> Package libaio-devel.i386 0:0.3.106-5 set to be updated
---> Package unixodbc-devel.i386 0:2.2.11-7.1 set to be updated
--> finished Dependency resolution