Red Hat Training

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

31.3. Required Packages for Red Hat Enterprise Linux 4

Ensure the following packages are installed by executing the following command:
rpm -q make                    \
    compat-db                      \
    compat-gcc-32                  \
    compat-gcc-32-c++              \
    compat-oracle-rhel4            \
    compat-libcwait                \
    compat-libgcc-296              \
    compat-libstdc++-296           \
    compat-libstdc++-33            \
    gcc                            \
    gcc-c++                        \
    gnome-libs                     \
    gnome-libs-devel               \
    libaio-devel                   \
    libaio                         \
    make                           \
    openmotif21                    \
    xorg-x11-deprecated-libs-devel \
    xorg-x11-deprecated-libs
Many of these packages depend on other packages. For example, compat-gcc-32 requires binutils, gcc and several other packages. You may have to install the following RPMs to satisfy Oracle's dependencies:
rpm -Uvh compat-db-4.1.25-9.i386.rpm     \
    compat-gcc-32-3.2.3-47.3.i386.rpm             \
    glibc-devel-2.3.4-2.i386.rpm                  \
    glibc-headers-2.3.4-2.i386.rpm                \
    glibc-kernheaders-2.4-9.1.87.i386.rpm         \
    cpp-3.4.3-9.EL4.i386.rpm                      \
    compat-gcc-32-c++-3.2.3-47.3.i386.rpm         \
    compat-libstdc++-33-3.2.3-47.3.i386.rpm       \
    gcc-3.4.3-9.EL4.i386.rpm                      \
    cpp-3.4.3-9.EL4.i386.rpm                      \
    gcc-c++-3.4.3-9.EL4.i386.rpm                  \
    libstdc++-devel-3.4.3-9.EL4.i386.rpm          \
    openmotif21-2.1.30-11.RHEL4.2.i386.rpm        \
    xorg-x11-deprecated-libs-6.8.1-23.EL.i386.rpm \
    compat-libgcc-296-2.96-132.7.2.i386.rpm       \
    compat-libstdc++-296-2.96-132.7.2.i386.rpm    \
    libaio-0.3.102-1.i386.rpm                     \
    libaio-devel-0.3.102-1.i386.rpm
The X.org development libraries, xorg-x11-deprecated-libs-devel and xorg-x11-devel, are required for the Oracle patch 4198954, the following RPMs may need to be installed:
rpm -Uvh xorg-x11-deprecated-libs-devel-6.8.1-23.EL.i386.rpm    \
    xorg-x11-devel-6.8.1-23.EL.i386.rpm                   \
    fontconfig-devel-2.2.3-7.i386.rpm                     \
    pkgconfig-0.15.0-3.i386.rpm                           \
    freetype-devel-2.1.9-1.i386.rpm                       \
    zlib-devel-1.2.1.2-1.i386.rpm
The Gnome libraries, gnome-libs and gnome-libs-devel, may require following RPMs to be installed:
rpm -Uvh gnome-libs-1.4.1.2.90-44.1.i386.rpm    \
    gnome-libs-devel-1.4.1.2.90-44.1.i386.rpm 	\
    ORBit-0.5.17-14.i386.rpm                  	\
    ORBit-devel-0.5.17-14.i386.rpm            	\
    alsa-lib-1.0.6-4.i386.rpm                 	\
    audiofile-0.2.6-1.i386.rpm                	\
    esound-0.2.35-2.i386.rpm                  	\
    esound-devel-0.2.35-2.i386.rpm     	        \
    gtk+-1.2.10-33.i386.rpm                   	\
    gtk+-devel-1.2.10-33.i386.rpm             	\
    imlib-1.9.13-23.i386.rpm                  	\
    imlib-devel-1.9.13-23.i386.rpm            	\
    libpng10-1.0.16-1.i386.rpm                	\
    alsa-lib-devel-1.0.6-4.i386.rpm           	\
    audiofile-devel-0.2.6-1.i386.rpm          	\
    gdk-pixbuf-0.22.0-15.1.i386.rpm           	\
    glib-devel-1.2.10-15.i386.rpm             	\
    indent-2.2.9-6.i386.rpm                   	\
    libjpeg-devel-6b-33.i386.rpm              	\
    libtiff-devel-3.6.1-7.i386.rpm            	\
    libungif-4.1.3-1.i386.rpm                 	\
    libungif-devel-4.1.3-1.i386.rpm

Note

If you are using the Red Hat Network(RHN), you can run:
up2date gnome-libs gnome-libs-devel
You can use the up2date command for any packages. It takes care of dependencies by installing all required packages automatically.
To install the compat-oracle-rhel4 and compat-libcwait packages you have to download the patch 4198954 from http://metalink.oracle.com. Make sure to select the Linux x86 platform. To unzip the downloaded p4198954_21_LINUX.zip file, run:
$ unzip p4198954_21_LINUX.zip
Archive:  p4198954_21_LINUX.zip
creating: 4198954/
inflating: 4198954/compat-oracle-rhel4-1.0-5.i386.rpm
inflating: 4198954/compat-libcwait-2.0-2.i386.rpm
inflating: 4198954/README.txt

Note

The compat-oracle-rhel4 and compat-libcwait packages require the xorg-x11-deprecated-libs and xorg-x11-deprecated-libs-devel packages, see above. To install the two RPMs from the 4198954 patch, run:
# rpm -Uvh 4198954/compat-oracle-rhel4-1.0-5.i386.rpm 4198954/compat-libcwait-2.0-2.i386.rpm