Install VMware Tools on Ubuntu (trusty)

From Iwan
Jump to: navigation, search

I used these instructions to install VMware Tools on my Ubuntu (Linux) machines.

The installation

Getting the key

root ##b##ubuntu@LAB-SERVER-WEB-02:~$ sudo wget
[sudo] password for ubuntu: 
--2015-09-04 18:14:41--
Resolving (, 2a02:26f0:6b:289::2ef, 2a02:26f0:6b:29f::2ef
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 755 [text/plain]
Saving to: ‘’

100%[======================================================================================================================>] 755         --.-K/s   in 0s      

root ##b##2015-09-04 18:14:41 (97.1 MB/s) - ‘’ saved [755/755]

Adding the key to the ubuntu repository

root ##b##uubuntu@LAB-SERVER-WEB-02:~$ sudo apt-key add 
root ##b##OK

Adding a new repository

root ##b##ubuntu@LAB-SERVER-WEB-02:~$ sudo vi /etc/apt/sources.list.d/vmware-tools.list 
root ##b##2deb trusty main
"/etc/apt/sources.list.d/vmware-tools.list" [New] 1L, 59C written  

Updating the sources

root ##b##ubuntu@LAB-SERVER-WEB-02:~$ sudo apt-get update
Ign trusty-security InRelease
Get:1 trusty-security Release.gpg [933 B]         
Get:2 trusty-security Release [63.5 kB]             
Get:3 trusty-security/main Sources [93.7 kB]        
Get:4 trusty-security/restricted Sources [2,061 B]  
Get:5 trusty-security/universe Sources [30.5 kB]    
Ign trusty InRelease                              
Get:6 trusty-security/multiverse Sources [2,330 B]  
Get:7 trusty-security/main amd64 Packages [339 kB]  
Get:8 trusty-security/restricted amd64 Packages [8,875 B]
Ign trusty-updates InRelease                      
Get:9 trusty-security/universe amd64 Packages [115 kB]
Get:10 trusty-security/multiverse amd64 Packages [3,686 B]
Get:11 trusty-security/main i386 Packages [324 kB]  
Get:12 trusty-security/restricted i386 Packages [8,846 B]
Get:13 trusty-security/universe i386 Packages [116 kB]
Ign trusty-backports InRelease                    
Get:14 trusty-security/multiverse i386 Packages [3,830 B]
Hit trusty-security/main Translation-en             
Hit trusty-security/multiverse Translation-en       
Hit trusty-security/restricted Translation-en       
Hit trusty Release.gpg                            
Hit trusty-security/universe Translation-en         
Get:15 trusty-updates Release.gpg [933 B]         
Hit trusty-backports Release.gpg                  
Hit trusty Release                         
Get:16 trusty-updates Release [63.5 kB]           
Hit trusty-backports Release                      
Hit trusty/main Sources                   
Ign trusty InRelease                    
Get:17 trusty Release.gpg [307 B]       
Get:18 trusty Release [1,400 B]
Get:19 trusty/main amd64 Packages [674 B]   
Hit trusty/restricted Sources
Get:20 trusty/main i386 Packages [675 B]            
Hit trusty/universe Sources                       
Hit trusty/multiverse Sources         
Hit trusty/main amd64 Packages       
Hit trusty/restricted amd64 Packages
Hit trusty/universe amd64 Packages
Hit trusty/multiverse amd64 Packages
Hit trusty/main i386 Packages
Hit trusty/restricted i386 Packages
Hit trusty/universe i386 Packages
Hit trusty/multiverse i386 Packages
Hit trusty/main Translation-en
Hit trusty/multiverse Translation-en
Hit trusty/restricted Translation-en   
Hit trusty/universe Translation-en     
Get:21 trusty-updates/main Sources [232 kB]
Get:22 trusty-updates/restricted Sources [4,725 B]
Get:23 trusty-updates/universe Sources [134 kB]   
Get:24 trusty-updates/multiverse Sources [5,143 B]
Get:25 trusty-updates/main amd64 Packages [614 kB]
Get:26 trusty-updates/restricted amd64 Packages [15.4 kB]
Get:27 trusty-updates/universe amd64 Packages [310 kB]
Get:28 trusty-updates/multiverse amd64 Packages [11.9 kB]
Get:29 trusty-updates/main i386 Packages [595 kB] 
Get:30 trusty-updates/restricted i386 Packages [15.1 kB]
Get:31 trusty-updates/universe i386 Packages [311 kB]
Get:32 trusty-updates/multiverse i386 Packages [12.1 kB]
Hit trusty-updates/main Translation-en            
Hit trusty-updates/multiverse Translation-en
Hit trusty-updates/restricted Translation-en
Hit trusty-updates/universe Translation-en
Hit trusty-backports/main Sources                 
Hit trusty-backports/restricted Sources           
Hit trusty-backports/universe Sources   
Hit trusty-backports/multiverse Sources 
Hit trusty-backports/main amd64 Packages          
Hit trusty-backports/restricted amd64 Packages    
Hit trusty-backports/universe amd64 Packages      
Hit trusty-backports/multiverse amd64 Packages    
Hit trusty-backports/main i386 Packages           
Hit trusty-backports/restricted i386 Packages     
Hit trusty-backports/universe i386 Packages       
Hit trusty-backports/multiverse i386 Packages     
Hit trusty-backports/main Translation-en          
Hit trusty-backports/multiverse Translation-en    
Hit trusty-backports/restricted Translation-en    
Hit trusty-backports/universe Translation-en      
Ign trusty/main Translation-en_US                 
Ign trusty/multiverse Translation-en_US           
Ign trusty/restricted Translation-en_US           
Ign trusty/universe Translation-en_US             
Ign trusty/main Translation-en_US                   
Ign trusty/main Translation-en                      
Fetched 3,440 kB in 14s (234 kB/s)                                             
Reading package lists... Done

Install the VMware tools trough a package

root ##b##ubuntu@LAB-SERVER-WEB-02:~$ sudo apt-get install open-vm-tools-deploypkg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libdumbnet1 libicu52 libmspack0 open-vm-tools zerofree
Suggested packages:
The following NEW packages will be installed:
  libdumbnet1 libicu52 libmspack0 open-vm-tools open-vm-tools-deploypkg
0 upgraded, 6 newly installed, 0 to remove and 26 not upgraded.
Need to get 7,301 kB of archives.
After this operation, 31.0 MB of additional disk space will be used.
root ##b##Do you want to continue? [Y/n] Y
Get:1 trusty/main open-vm-tools-deploypkg amd64 9.4.10-3 [20.3 kB]
Get:2 trusty-updates/main libicu52 amd64 52.1-3ubuntu0.3 [6,752 kB]
Get:3 trusty/universe libmspack0 amd64 0.4-1 [43.2 kB]
Get:4 trusty/main libdumbnet1 amd64 1.12-4build1 [25.7 kB]
Get:5 trusty-updates/main open-vm-tools amd64 2:9.4.0-1280544-5ubuntu6.2 [452 kB]
Get:6 trusty/main zerofree amd64 1.0.2-1ubuntu1 [8,654 B]
Fetched 7,301 kB in 5s (1,433 kB/s)
Selecting previously unselected package libicu52:amd64.
(Reading database ... 58463 files and directories currently installed.)
Preparing to unpack .../libicu52_52.1-3ubuntu0.3_amd64.deb ...
Unpacking libicu52:amd64 (52.1-3ubuntu0.3) ...
Selecting previously unselected package libmspack0:amd64.
Preparing to unpack .../libmspack0_0.4-1_amd64.deb ...
Unpacking libmspack0:amd64 (0.4-1) ...
Selecting previously unselected package libdumbnet1.
Preparing to unpack .../libdumbnet1_1.12-4build1_amd64.deb ...
Unpacking libdumbnet1 (1.12-4build1) ...
Selecting previously unselected package open-vm-tools.
Preparing to unpack .../open-vm-tools_2%3a9.4.0-1280544-5ubuntu6.2_amd64.deb ...
Unpacking open-vm-tools (2:9.4.0-1280544-5ubuntu6.2) ...
Selecting previously unselected package open-vm-tools-deploypkg.
Preparing to unpack .../open-vm-tools-deploypkg_9.4.10-3_amd64.deb ...
Unpacking open-vm-tools-deploypkg (9.4.10-3) ...
Selecting previously unselected package zerofree.
Preparing to unpack .../zerofree_1.0.2-1ubuntu1_amd64.deb ...
Unpacking zerofree (1.0.2-1ubuntu1) ...
Processing triggers for man-db ( ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libicu52:amd64 (52.1-3ubuntu0.3) ...
Setting up libmspack0:amd64 (0.4-1) ...
Setting up libdumbnet1 (1.12-4build1) ...
Setting up open-vm-tools (2:9.4.0-1280544-5ubuntu6.2) ...
 * Starting open-vm daemon vmtoolsd
Setting up zerofree (1.0.2-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up open-vm-tools-deploypkg (9.4.10-3) ...
 * Stopping open-vm guest daemon vmtoolsd
 * Starting open-vm daemon vmtoolsd
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...