Install GCC under rhel.5.0

Source: Internet
Author: User

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%]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.