Install unixODBC Packages Under RHEL 5.4

Overview

During the installation of RDBMS 11.2.0.3 following the installation of Grid Infrastructure 11.2.0.3, the installation checker flagged the following packages as being needed:

  • unixODBC-2.2.11-7.1.i386
  • unixODBC-devel-2.2.11-7.1.i386

This procedure records how I installed the packages on GRIDCTRL .

References

Procedure

Create Directory

I created a directory to hold the consolidated copies of all of the RHEL 5.4 CDROMs:

mkdir /opt/RHEL-SERVER-5.4

Copy Files

I copied the files off the CDROM as follows:

mount /dev/cdrom -o ro /media
cp --preserve --recursive --update /media/* /opt/RHEL-SERVER-5.4/
umount /media
eject /dev/cdrom

Install RPM

I used a modified version of the procedure in 03 Install Oracle Validated RPM :

cd /etc/yum.repos.d
rm -f rhel-debuginfo.repo
cat >ULN-Base.repo < [local]
name=Red Hat Enterprise Linux \$releasever - \$basearch - our own channel
baseurl=file:///opt/RHEL-SERVER-5.4/Server
gpgcheck=1
enabled=1
gpgkey=file:///opt/RHEL-SERVER-5.4/RPM-GPG-KEY-redhat-release
DONE
cd /opt/RHEL-SERVER-5.4/Server
yum localinstall unixODBC-2.2.11-7.1.i386.rpm unixODBC-devel-2.2.11-7.1.i386.rpm

When I tried this, I got the output described in yum-install-unixodbc.log .

I was able to use Package Manager to successfully install the packages.