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
- Mount the Red Hat Enterprise Linux distribution DVD to the system. Insert the DVD into the DVD drive.
- Select open a terminal window as a root.
- Execute the commands:
[root@localhost]# mkdir /mnt/cdrom [root@localhost]# mount -o ro /dev/cdrom /mnt/cdrom - Create the text file server.repo in
the /etc/yum.repos.d directory. Note: To use
gedit:- execute the command:
[root@localhost]# gedit /etc/yum.repos.d/server.repo - Add the following text to the file:
Where[server] name=server baseurl=file:///mnt/cdrom/Workstation enabled=1baseurldepends on the mounting point and the Red Hat Enterprise Linux distribution.In the example, the mounting point is
cdromand the Red Hat Enterprise Linux distribution isWorkstation, but can besever.
- execute the command:
- Execute the command:
[root@localhost]# yum clean all - Execute the command to import related public keys:
[root@localhost]# rpm --import /mnt/cdrom/*GPG* - Execute the commands to install the required libraries:
If you received the missing libstdc++ message above, install the libstdc++ library:[root@localhost]# yum install gtk2.i686 [root@localhost]# yum install libXtst.i686
During the install you might receive prompts similar to the example. Answer with[root@localhost]# yum install compat-libstdc++'y'.Example:Total download size: 15 M Installed size: 47 M Is this ok [y/N]: yNote: 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