Linuxcentos5.5 cannot install gcc for any reason

Source: Internet
Author: User
Linuxcentos5.5 do not know why the gcc rpm-ivh cpp-4.1.2-48.el5.i386.rpm cannot be installed Press enter
Rpm-ivh kernel-headers-2.6.18-194.el5.i386.rpm carriage return
Rpm-ivh glibc-headers-2.5-49.i386.rpm carriage return
Rpm-ivh glibc-devel-2.5-49.i386.rpm carriage return
Rpm-ivh libgomp-4.4.0-6.el5.i386.rpm carriage return
Rpm-ivh gcc-c ++-4.1.2-48. el5.i386. rpm press enter

The gcc is installed in this step, but there is no command to input the gcc-v. the prompt "no gcc in..." is displayed in which gcc ........

The reinstallation prompt is that all of the above alerty installed has been installed, but the command is not found.

Why? My version is from centos 5.5.

Yum install gcc * but an error is Prompted. it is estimated that there is no network.


Reply to discussion (solution)

Yum install gcc * but an error is Prompted. it is estimated that there is no network.

You can modify the source to the installation CD to install gcc. But why are you not using the yum?

Yum install gcc * but an error is Prompted. it is estimated that there is no network.

You can modify the source to the installation CD to install gcc. But why are you not using the yum?
I just changed to the disc to start to install gcc, and the prompt is that there is no error in the installation, that is, I do not know why. Do I need to re-install the SDK to check the developer mode?


Yum install gcc * but an error is Prompted. it is estimated that there is no network.

You can modify the source to the installation CD to install gcc. But why are you not using the yum?
I just changed to the disc to start to install gcc, and the prompt is that there is no error in the installation, that is, I do not know why. Do I need to re-install the SDK to check the developer mode?
The rpm dependency problem is annoying. you can directly go online to yum or change the source to a mounted disc.

Run: updatedb
Then: locate gcc

Check whether

Thank you for using other methods.

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.