Installing required libraries on Red Hat Enterprise Linux systems

Before you run the installation commands for graphical or silent mode installation, you must install the required libraries on the Red Hat Enterprise Linux systems.

Procedure

  1. Mount the Red Hat Enterprise Linux distribution DVD to the system. Insert the DVD into the DVD drive.
  2. Select open a terminal window as a root.
  3. Execute the commands:
    [root@localhost]# mkdir /mnt/cdrom
    [root@localhost]# mount -o ro /dev/cdrom /mnt/cdrom
  4. Create the text file server.repo in the /etc/yum.repos.d directory.
    Note: To use gedit:
    1. execute the command:
      [root@localhost]# gedit /etc/yum.repos.d/server.repo
    2. Add the following text to the file:
      [server]
      name=server
      baseurl=file:///mnt/cdrom/Workstation
      enabled=1
      Where baseurl depends on the mounting point and the Red Hat Enterprise Linux distribution.

      In the example, the mounting point is cdrom and the Red Hat Enterprise Linux distribution is Workstation, but can be sever.

  5. Execute the command:
    [root@localhost]# yum clean all
  6. Execute the command to import related public keys:
    [root@localhost]# rpm --import /mnt/cdrom/*GPG*
  7. Execute the commands to install the required libraries:
    [root@localhost]# yum install gtk2.i686
    [root@localhost]# yum install libXtst.i686
    If you received the missing libstdc++ message above, install the libstdc++ library:
    [root@localhost]# yum install compat-libstdc++
    During the install you might receive prompts similar to the example. Answer with 'y'.
    Example:
    Total download size: 15 M
    Installed size: 47 M
    Is this ok [y/N]: y
    Note: The package name extension (.i686) might change in the command depending on the hardware platform that you use. The table lists valid values for the package name extension. Red Hat Enterprise Linux 6.0 package names on different platforms:
    Platform 32-bit 64-bit
    x86/x86_64 i686 x86_64
    ppc/ppc64 ppc ppc64
    s390/s390x s390 s390x