How to install VMWare Tools on CentOS/RHEL 6.5

To install VMWare tools using YUM on CentOS/RHEL 6.5, do the following.

Note, I’m logged in as the ‘root’ user, but you could execute these commands using ‘sudo’ as well.

Step 1: Download and import GPG keys

[root@test/var/tmp]# wget http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
[root@test /var/tmp]# rpm --import VMWARE-PACKAGING-GPG-RSA-KEY.pub


Step 2: Add VMWare repository

# Create/Modify  /etc/yum.repos.d/vmware-tools.repo, I use 'vim' as an editor
[root@test /var/tmp]# vim /etc/yum.repos.d/vmware-tools.repo
 
Add the following text to the file and save/quit:
 
[vmware-tools] name=VMware Tools for CentOS (or OEL) $releasever - $basearch baseurl=http://packages.vmware.com/tools/esx/latest/rhel6/x86_64 #baseurl=http://packages.vmware.com/tools/esx/5.0u2/rhel6/x86_64 enabled=1 gpgcheck=1 gpgkey=http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub 

Step 3: Clean and Update yum

[root@test /var/tmp]# yum clean all
[root@test /var/tmp]# yum update

Step 4: Install VMWare tools

[root@test /var/tmp]# yum install vmware-tools-core
Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vmware-tools-core.x86_64 0:9.4.5-1.el6 will be installed
--> Processing Dependency: vmware-tools-guestlib = 9.4.5 for package: vmware-tools-core-9.4.5-1.el6.x86_64
--> Processing Dependency: vmware-tools-libraries-nox = 9.4.5 for package: vmware-tools-core-9.4.5-1.el6.x86_64
--> Processing Dependency: vmware-tools-foundation >= 9.4.5 for package: vmware-tools-core-9.4.5-1.el6.x86_64
--> Running transaction check
---> Package vmware-tools-foundation.x86_64 0:9.4.5-1.el6 will be installed
---> Package vmware-tools-guestlib.x86_64 0:9.4.5-1.el6 will be installed
---> Package vmware-tools-libraries-nox.x86_64 0:9.4.5-1.el6 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=================================================================================================================================================================================
 Package                                               Arch                              Version                                   Repository                               Size
=================================================================================================================================================================================
Installing:
 vmware-tools-core                                     x86_64                            9.4.5-1.el6                               vmware-tools                            3.9 M
Installing for dependencies:
 vmware-tools-foundation                               x86_64                            9.4.5-1.el6                               vmware-tools                            213 k
 vmware-tools-guestlib                                 x86_64                            9.4.5-1.el6                               vmware-tools                             45 k
 vmware-tools-libraries-nox                            x86_64                            9.4.5-1.el6                               vmware-tools                            2.1 M
 
Transaction Summary
=================================================================================================================================================================================
Install       4 Package(s)
 
Total download size: 6.2 M
Installed size: 18 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): vmware-tools-core-9.4.5-1.el6.x86_64.rpm                                                                                                           | 3.9 MB     00:01
(2/4): vmware-tools-foundation-9.4.5-1.el6.x86_64.rpm                                                                                                     | 213 kB     00:00
(3/4): vmware-tools-guestlib-9.4.5-1.el6.x86_64.rpm                                                                                                       |  45 kB     00:00
(4/4): vmware-tools-libraries-nox-9.4.5-1.el6.x86_64.rpm                                                                                                  | 2.1 MB     00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                            1.7 MB/s | 6.2 MB     00:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : vmware-tools-foundation-9.4.5-1.el6.x86_64                                                                                                                    1/4
  Installing : vmware-tools-guestlib-9.4.5-1.el6.x86_64                                                                                                                      2/4
  Installing : vmware-tools-libraries-nox-9.4.5-1.el6.x86_64                                                                                                                 3/4
  Installing : vmware-tools-core-9.4.5-1.el6.x86_64                                                                                                                          4/4
  Verifying  : vmware-tools-foundation-9.4.5-1.el6.x86_64                                                                                                                    1/4
  Verifying  : vmware-tools-guestlib-9.4.5-1.el6.x86_64                                                                                                                      2/4
  Verifying  : vmware-tools-core-9.4.5-1.el6.x86_64                                                                                                                          3/4
  Verifying  : vmware-tools-libraries-nox-9.4.5-1.el6.x86_64                                                                                                                 4/4
 
Installed:
  vmware-tools-core.x86_64 0:9.4.5-1.el6
 
Dependency Installed:
  vmware-tools-foundation.x86_64 0:9.4.5-1.el6              vmware-tools-guestlib.x86_64 0:9.4.5-1.el6              vmware-tools-libraries-nox.x86_64 0:9.4.5-1.el6
 
Complete!


VMWare Tools successfully installed!

By anup

Leave a Reply

Your email address will not be published. Required fields are marked *