Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

19.3. Verifying Software Packages (RPMs)

Before you install an Oracle Database 10g you need to check your system for required RPMs. Always use the latest stable RPMs and kernels for your system, Red Hat manages the repositories to ensure everything work safely, securely and accurately. This section contains a list Oracle Database versions and versions of Red Hat Enterprise Linux. The list details which packages are required and how to assess whether the correct RPMs are present.
For Oracle 10g R2 (64 bit), on Red Hat Enterprise Linux 4 and 5 x86-64 versions, the document Oracle Database Installation Guide 10g Release 2 (10.2) for Linux x86-64 lists the following required package versions or higher:
binutils-2.15.92.0.2-10.EL4
compat-db-4.1.25-9
control-center-2.8.0-12
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
glibc-2.3.4-2
glibc-common-2.3.4-2
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-9.EL4
libstdc++-devel-3.4.3-9.EL4
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2

Note

Install the libaio-0.3.96 RPM or a newer version, otherwise the OUI prerequisite check will fail.
To check if you are running the x86-64 kernel on a x86-64 platform, run:
# uname -mi
x86_64 x86_64
To check the RPMs, run:
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}  (%{ARCH})\n' \
    binutils compat-db control-center gcc gcc-c++ glibc glibc-common \
    gnome-libs libstdc++ libstdc++-devel make pdksh sysstat xscreensaver \
    libaio
It is important to have these x86-64 RPMs installed. The above command will list the architecture of each binary package. You will see that some RPMs are installed twice when you run this command (x86 RPM and x86-64 RPM). You need to ensure that all required x86-64 RPMs listed here are installed.
For Oracle 10g R2 (32 bit) on Red Hat Enterprise Linux 4 and 5 x86, the document Oracle Database Release Notes 10g Release 2 (10.2) for Linux x86 lists the following required package versions or higher:
binutils-2.15.92.0.2-10.EL4
compat-db-4.1.25-9
control-center-2.8.0-12
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
glibc-2.3.4-2
glibc-common-2.3.4-2
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-9.EL4
libstdc++-devel-3.4.3-9.EL4
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2

Note

Install the libaio-0.3.96 RPM or a newer version, otherwise the OUI prerequisite check will fail.
To check the RPMs, run:
rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common \ 
	gnome-libs libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio
For 10g R2 (32 bit) on Red Hat Enterprise Linux 3 x86, the document Oracle Database Installation Guide 10g Release 2 (10.2) for Linux x86 lists the following required package versions or higher:
make-3.79.1
gcc-3.2.3-34
glibc-2.3.2-95.20
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128
compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
openmotif21-2.1.30-8
setarch-1.3-1

Note

libaio-0.3.96 RPM or a newer version is required for the OUI to work successfully.
To check the RPMs, run:
rpm -q make gcc glibc compat-db compat-gcc compat-gcc-c++ compat-libstdc++ \
	compat-libstdc++-devel openmotif21 setarch libaio
For Oracle 10g R1 (64 bit) on Red Hat Enterprise Linux 3 x86-64, the document Oracle Database Installation Guide 10g Release 1 (10.1.0.3) for Linux x86-64 lists the following required package versions or higher:
make-3.79.1
gcc-3.2.3-34
glibc-2.3.2-95.20
glibc-devel-2.3.2-95.20
glibc-devel-2.3.2-95.20   (32 bit)
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128
compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
gnome-libs-1.4.1.2.90-34.1   (32 bit)
openmotif21-2.1.30-8
setarch-1.3-1
libaio-0.3.96-3
libaio-devel-0.3.96-3
To check if you are running the AMD64 or Intel 64(x86-64) kernel on an AMD64 or Intel 64 platform, run:
# uname -mi
x86_64 x86_64
To check the RPMs, run:
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}  (%{ARCH})\n' \
make gcc glibc glibc-devel compat-db compat-gcc compat-gcc-c++ \
	compat-libstdc++ compat-libstdc++-devel gnome-libs openmotif21 setarch \
	libaio libaio-devel
It is important to have the right x86 and x86-64 RPMs installed. The above command will list the architecture of each binary package. And as you can see in the above list, glibc-devel and other RPMs are listed twice. This means that you have to install packages for both architectures, x86 and x86-64.
For Oracle 10g R1 (32 bit) on Red Hat Enterprise Linux 3 x86, the document Oracle Database Installation Guide 10g Release 1 (10.1) for UNIX Systems lists the following required package versions or higher:
make-3.79.1
gcc-3.2.3-34
glibc-2.3.2-95.20
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128
compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
openmotif21-2.1.30-8
setarch-1.3-1
To check the RPMs, run:
rpm -q make gcc glibc compat-db compat-gcc compat-gcc-c++ compat-libstdc++ \
	compat-libstdc++-devel openmotif21 setarch
For Oracle 10g R1 (32 bit) on Red Hat Enterprise Linux 2.1, the document Oracle Database Installation Guide 10g Release 1 (10.1) for UNIX Systems lists the following required package versions or higher:
make-3.79.1
glibc-2.2.4-32
gcc-2.96-128
gcc-c++-2.96-128
libstdc++-2.96-128
openmotif-2.1.30-11
To check these RPMs, run:
rpm -q make glibc gcc gcc-c++ libstdc++ openmotif
For Red Hat Enterprise Linux 3 and 2.1 it is also important to have binutils-2.11.90.0.8-12 or a newer version installed. Make sure you have the binutils RPM installed on Red Hat Enterprise Linux 4 and 5 as well:
rpm -q binutils

Important

OUI for x86 will also complain if the openmotif package is missing (do not confuse it with the openmotif21 package). Red Hat changed the version naming schema from openmotif-2.2.2-16 in the original release to openmotif-2.2.3-5.RHEL3.2 in Red Hat Enterprise Linux 3 Update 5. This seems to confuse OUI in Red Hat Enterprise Linux3 U5 since it complaining that it can not find the right openmotif version. You can ignore this. The openmotif-2.2.3-5.RHEL3.2 is just a newer version of openmotif-2.2.2-16 which should work fine and should not cause any problems. To check the RPM, run:
rpm -q openmotif
Also, make sure the redhat-release package is installed. Earlier versions of Red Hat Enterprise Linux may not install it by default when you selected a minimum system installation:
rpm -q redhat-release
The setarch utility is new in Red Hat Enterprise Linux 3 and 4. It is used to tell the kernel to report a different architecture than the current one. It is also used to emulate a 3GB virtual address space for applications that do not run properly with a larger virtual address space. To check the RPM, run:
rpm -q setarch