The installation of GCC compiler-general Linux technology-Linux programming and kernel information. The following is a detailed description. 1. Obtain the program
Find the gcc-3.2.2-5.i386.rpm in the #2 Disc
Run a command
# Rpm-ivh gcc-3.2.2-5.i386.rpm
Warning: gcc-3.2.2-5.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Error: Failed dependencies:
Binutils> = 2.12.90.0.7-1 is needed by gcc-3.2.2-5
Cpp = 3.2.2-5 is needed by gcc-3.2.2-5
Glibc-devel> = 2.2.90-12 is needed by gcc-3.2.2-5
You earned it, Ann glibc-devel.
Find the glibc-devel-2.3.2-11.9.i386.rpm In the #1 Disc
There is a command
Rpm-ivh glibc-devel-2.3.2-11.9.i386.rpm
Warning: glibc-devel-2.3.2-11.9.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Error: Failed dependencies:
Kernel-headers is needed by glibc-devel-2.3.2-11.9
Kernel-headers> = 2.2.1 is needed by glibc-devel-2.3.2-11.9
This is a flip-flop, and then install the kernel-headers (this is the installation program on bare metal)
I have not searched for three CDs. Do I have to reinstall Linux?
Let's just take a look. Some people say that there is no kernel-headers, but there is kernheaders.
Find the glibc-kernheaders-2.4-8.10.i386.rpm In the #1 disc,
A command,
# Rpm-ivh glibc-kernheaders-2.4-8.10.i386.rpm
Warning: glibc-kernheaders-2.4-8.10.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ######################################## ### [100%]
1: glibc-kernheaders ##################################### ###### [100%]
The world is quiet.
The glibc-devel-2.3.2-11.9.i386.rpm is also installed properly.
But binutils does not.
Find the binutils-2.13.90.0.18-9.i386.rpm In the #1 disc, nothing to say
# Rpm-ivh binutils-2.13.90.0.18-9.i386.rpm
Warning: binutils-2.13.90.0.18-9.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ######################################## ### [100%]
1: binutils ####################################### #### [100%]
Find the cpp-3.2.2-5.i386.rpm In the #1 Disc
# Rpm-ivh cpp-3.2.2-5.i386.rpm
Warning: cpp-3.2.2-5.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ######################################## ### [100%]
1: cpp ####################################### #### [100%]
Finally, we arrived at gcc.
# Rpm-ivh gcc-3.2.2-5.i386.rpm
Warning: gcc-3.2.2-5.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ######################################## ### [100%]
1: gcc ####################################### #### [100%]
At this point, the devil is defeated, and the world is peaceful. The prince and the princess live happily forever.
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.