Install GCC in centos6. 5 rpm Mode

Source: Internet
Author: User

Because the RPM packages in the lab are filtered out, the yum in centos cannot download and install software. Use make to compile various software source code and find no GCC, G ++. The installation must be performed offline. If Yum cannot download the RPM package, you can download the RPM package at the following address. I don't know why.

Search information on the internet installed successfully, GCC and G ++ RPM package http://fr2.rpmfind.net/linux/rpm2html/search.php? Query = gcc-C % 2B % 2B & submit = SEARCH +... & system = & arch =

Find the compressed package of the corresponding operating system according to the search. My operating system is centos6.5 looking for the following compressed packages

Cloog-ppl-0.15.7-1.2.el6.i686.rpm

Cpp-4.4.7-4.el6.i686.rpm

Gcc-c4.4.7-4.el6.i686.rpm

Glibc-devel-2.12-1.132.el6.i686.rpm

Glibc-headers-2.12-1.132.el6.i686.rpm

Kernel-headers-2.6.32-431.el6.i686.rpm

Libgomp-4.4.7-4.el6.i686.rpm

Libstdc-devel-4.4.7-4.el6.i686.rpm

Mpfr-2.4.1-6.el6.i686.rpm

Ppl-0.10.2-11.el6.i686.rpm

Gcc-C ++-4.4.7-4. el6.i686. rpm


Installation sequence after download:

Rpm-ihv kernel-headers*

Rpm-ihv glibc-headers*

Rpm-ihv glibc-devel*

Rpm-ihv mpfr *

Rpm-ihv ppl*

Rpm-ihv CPP*

Rpm-ihv cloog-PPL*

Rpm-ihv gcc

G ++ installation sequence:

Rpm-IVH libstdc ++-devel*

Rpm-VL gcc-C ++ *

No error occurs during installation. I wrote two programs GCC, and g ++ compiled normally.








This article is from the "Diary-gcc-RPM installation" blog and is not reposted!

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.