1. Copy the related files on the CD to the system directory or load the CD;
2. Enter the path of the relevant file, for example, CD/GCC (case sensitive );
3. Install GCC below
[Root @ localhost GCC] # Rpm-IVH glibc-headers-2.5-12.i386.rpm
Warning: glibc-headers-2.5-12.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
Package glibc-headers-2.5-12 is already installed
[Root @ localhost GCC] # Rpm-IVH glibc-devel-2.5-12.i386.rpm
Bash:] #: Command not found
[Root @ localhost GCC] # Rpm-IVH glibc-devel-2.5-12.i386.rpm
Warning: glibc-devel-2.5-12.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
Package glibc-devel-2.5-12 is already installed
[Root @ localhost GCC] # Rpm-IVH cpp-4.1.1-52.el5.i386.rpm
Warning: cpp-4.1.1-52.el5.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
Package cpp-4.1.1-52.el5 is already installed
[Root @ localhost GCC] # Rpm-IVH libgomp-4.1.1-52.el5.i386.rpm
Warning: libgomp-4.1.1-52.el5.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
1: libgomp ####################################### #### [100%]
[Root @ localhost GCC] #Rpm-IVH gcc-4.1.1-52.el5.i386.rpm
Warning: gcc-4.1.1-52.el5.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
1: GCC ####################################### #### [100%]
Address: http://blog.csdn.net/cottier/article/details/5908690
1. Copy the related files on the CD to the system directory or load the CD;
2. Enter the path of the relevant file, for example, CD/GCC (case sensitive );
3. Install GCC below
[Root @ localhost GCC] # Rpm-IVH glibc-headers-2.5-12.i386.rpm
Warning: glibc-headers-2.5-12.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
Package glibc-headers-2.5-12 is already installed
[Root @ localhost GCC] # Rpm-IVH glibc-devel-2.5-12.i386.rpm
Bash:] #: Command not found
[Root @ localhost GCC] # Rpm-IVH glibc-devel-2.5-12.i386.rpm
Warning: glibc-devel-2.5-12.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
Package glibc-devel-2.5-12 is already installed
[Root @ localhost GCC] # Rpm-IVH cpp-4.1.1-52.el5.i386.rpm
Warning: cpp-4.1.1-52.el5.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
Package cpp-4.1.1-52.el5 is already installed
[Root @ localhost GCC] # Rpm-IVH libgomp-4.1.1-52.el5.i386.rpm
Warning: libgomp-4.1.1-52.el5.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
1: libgomp ####################################### #### [100%]
[Root @ localhost GCC] # Rpm-IVH gcc-4.1.1-52.el5.i386.rpm
Warning: gcc-4.1.1-52.el5.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
1: GCC ####################################### #### [100%]