Solution to installation failure of VMwareToolsgcc in gcc environment under RHEL6

Source: Internet
Author: User
Solution to installation failure of vmwarw.lsgcc in gcc environment under RHEL6 (common method ). Recently in tossing RedHat, the version I installed is rhel-server-6.1-x86_64. RHEL6.1 does not have the gcc and gcc-c ++ environments by default. You can only find a local installation method. The following is a summary: The ultimate method: reinstall. When selecting the operating system type, check "development" in the check box, so that the system will automatically install gcc.

Solution to installation of VMware Tools gcc in the gcc environment under RHEL6 (common ).

Recently in tossing RedHat, the version I installed is rhel-server-6.1-x86_64.

By default, RHEL 6.1 does not have a gcc or gcc-c ++ environment. You can only install it locally. The following is a summary:

The ultimate method is reinstallation. When selecting the operating system type, check "development" in the check box so that the system will automatically install gcc.

The installation method is as follows:

Upload and Install the image rhel-server-6.1-x86_64-dvd.iso, then mount the image file,/mnt (if in a virtual machine, directly click VM-Install VMware Tools to automatically load), Note: Due to software version problems, the version numbers of the following rpm packages are different.

I. Attach a cd
# Mount/dev/cdrom/mnt
2. Go to the CD directory
# Cd/mnt/Packages/
2. Install the following rpm packages in sequence
# Rpm-ivh glibc-common-2.5-42.i386.rpm
# Rpm-ivh kernel-headers-2.6.18-164.el5.i386.rpm
# Rpm-ivh libgcc-4.1.2-46.el5.i386.rpm
# Rpm-ivh glibc-2.5-42.i686.rpm
# Rpm-ivh libgomp-4.4.0-6.el5.i386.rpm
# Rpm-ivh nscd-2.5-42.i386.rpm
# Rpm-ivh glibc-headers-2.5-42.i386.rpm
# Rpm-ivh glibc-devel-2.5-42.i386.rpm
# Rpm-ivh mpfr-2.4.1-6.el6.i686.rpm
# Rpm-ivh ppl-0.10.2-11.el6.i686.rpm
# Rpm-ivh cloog-ppl-0.15.7-1.2.el6.i686.rpm
# Rpm-ivh cpp-4.1.2-46.el5.i386.rpm
# Rpm-ivh gcc-4.1.2-46.el5.i386.rpm
(Note: The above is the installation of gcc)
# Rpm-ivh libstdc ++-4.1.2-46. el5.i386. rpm
# Rpm-ivh libstdc ++ devel-4.1.2-46.el5.i386.rpm
# Rpm-ivh gcc-c ++-4.1.2-46. el5.i386. rpm
(Note: The above is the installation of gcc-c ++)

 

Related Article

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.