How to Install open-vm-tools in CentOS 6.6

Share this Article :

Q. How to install open-vm-tools in linux CentOS 6.6 ?

A. VMware is announcing the release of large portions of VMware Tools for Linux, Solaris and FreeBSD guests under GPL and GPL-compatible licenses. VMware is also announcing the creation of the Open Virtual Machine Tools (“open-vm-tools”) project on Sourceforge.net. Even-though CentOS 6 not on the recommendation list, you still able to install the third party VMware-Tools (open-vm-tools) via EPEL repo as below steps.

open-vm-tools is available with these operating systems:

  • Fedora 19 and later releases
  • Debian 7.x and later releases
  • openSUSE 11.x and later releases
  • Recent Ubuntu releases (12.04 LTS, 13.10 and later)
  • Red Hat Enterprise Linux 7.0 and later releases
  • SUSE Linux Enterprise 12 – available Q4 2014
  • CentOS 7
  • Oracle Linux 7

1. Prepare EPEL repo for CentOS 6.6

[[email protected] ~]# rpm --import http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6
[[email protected] ~]# rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

2. Simply run yum command to install open-vm-tools

[[email protected] ~]# yum install open-vm-tools -y

Examples :

[[email protected] ~]# yum install open-vm-tools -y
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.ipserverone.com
 * epel: kartolo.sby.datautama.net.id
 * extras: centos.ipserverone.com
 * updates: centos.ipserverone.com
Resolving Dependencies
--> Running transaction check
---> Package open-vm-tools.x86_64 0:9.4.6-1.el6 will be installed
--> Processing Dependency: libicuuc.so.42()(64bit) for package: open-vm-tools-9.4.6-1.el6.x86_64
--> Processing Dependency: libicui18n.so.42()(64bit) for package: open-vm-tools-9.4.6-1.el6.x86_64
--> Processing Dependency: libicudata.so.42()(64bit) for package: open-vm-tools-9.4.6-1.el6.x86_64
--> Processing Dependency: libdnet.so.1()(64bit) for package: open-vm-tools-9.4.6-1.el6.x86_64
--> Running transaction check
---> Package libdnet.x86_64 0:1.12-6.el6 will be installed
---> Package libicu.x86_64 0:4.2.1-9.1.el6_2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package                   Arch               Version                        Repository        Size
====================================================================================================
Installing:
 open-vm-tools             x86_64             9.4.6-1.el6                    epel             402 k
Installing for dependencies:
 libdnet                   x86_64             1.12-6.el6                     epel              28 k
 libicu                    x86_64             4.2.1-9.1.el6_2                base             4.9 M

Transaction Summary
====================================================================================================
Install       3 Package(s)

Total download size: 5.3 M
Installed size: 20 M
Downloading Packages:
(1/3): libdnet-1.12-6.el6.x86_64.rpm                                         |  28 kB     00:00
http://centos.ipserverone.com/centos/6.6/os/x86_64/Packages/libicu-4.2.1-9.1.el6_2.x86_64.rpm: [Errno 12] Timeout on http://centos.ipserverone.com/centos/6.6/os/x86_64/Packages/libicu-4.2.1-9.1.el6_2.x86_64.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
(2/3): libicu-4.2.1-9.1.el6_2.x86_64.rpm                                     | 4.9 MB     01:21
(3/3): open-vm-tools-9.4.6-1.el6.x86_64.rpm                                  | 402 kB     00:04
----------------------------------------------------------------------------------------------------
Total                                                                44 kB/s | 5.3 MB     02:04
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : libdnet-1.12-6.el6.x86_64                                                        1/3
  Installing : libicu-4.2.1-9.1.el6_2.x86_64                                                    2/3
  Installing : open-vm-tools-9.4.6-1.el6.x86_64                                                 3/3
  Verifying  : libicu-4.2.1-9.1.el6_2.x86_64                                                    1/3
  Verifying  : open-vm-tools-9.4.6-1.el6.x86_64                                                 2/3
  Verifying  : libdnet-1.12-6.el6.x86_64                                                        3/3

Installed:
  open-vm-tools.x86_64 0:9.4.6-1.el6

Dependency Installed:
  libdnet.x86_64 0:1.12-6.el6                    libicu.x86_64 0:4.2.1-9.1.el6_2

Complete!

3. Start vmtoolsd service :

[[email protected] ~]# service vmtoolsd start

Leave a Reply