RedHatRHEL6.1 method for Installing gcc recently in tossing RedHat, the version I installed is the rhel-server-6.1-x86_64. RHEL6.1 does not have the gcc and gcc-c ++ environments by default, and I have not purchased any genuine services. I can only find a way to install locally, the summary method is as follows: www.2c... RedHat RHEL 6.1 Install gcc method recently in tossing RedHat, My installed version is rhel-server-6.1-x86_64. By default, RHEL 6.1 does not have the gcc and gcc-c ++ environments, and I do not have $ to buy genuine services. You can only find a way to install locally, the summary method is as follows: www.2cto.com Upload and install the image rhel-server-6.1-x86_64-dvd.iso, and then the image file mounted, for example/mnt # mount-o loop rhel-server-6.1-x86_64-dvd.iso/mnt # cd/mnt/Packages # rpm-ivh glibc-common-2.12-1.25.el6.x86_64.rpm # rpm-ivh kernel-headers-2.6.32-131.0.15.el6.x86_64.rpm # rpm-ivh libgcc-4.4.5-6.el6.x86_64.rpm # rpm-ivh glibc-2.12-1.25.el6.x86_64.rpm # rpm- ivh libgomp-4.4.5-6.el6.x86_64.rpm # rpm-ivh nscd-2. 12-1.25.el6.x86_64.rpm # rpm-ivh glibc-headers-2.12-1.25.el6.x86_64.rpm # rpm-ivh glibc-devel-2.12-1.25.el6.x86_64.rpm # rpm-ivh mpfr-2.4.1-6.el6.x86_64.rpm # rpm-ivh ppl-0.10.2-11.el6.x86_64.rpm # rpm-ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm # rpm-ivh cpp-4.4.5-6.el6.x86_64.rpm # rpm-ivh gcc-4.4.5-6.el6.x86_64.rpm note: the above is the installation of gcc, the software installation sequence cannot be wrong. Www.2cto.com *************************************** * ** # rpm-ivh libstdc ++-4.4.5-6. el6.x86 _ 64.rpm # rpm-ivh libstdc ++-devel-4.4.5-6.el6.x86_64.rpm # rpm-ivh gcc-c ++-4.4.5-6. el6.x86 _ 64.rpm note: The above is the installation of gcc-c ++
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