[Updated on 1-Apr-2017: For a long time now I haven’t bothered with installing VMware Tools manually anymore. Instead I’ve just used the open-vm-tools package included in Debian, so a plain “apt-get install open-vm-tools” does the job. I’ve understood that some features are missing when compared to the original VMware Tools, so be sure to check them if you have specific VM templating requirements. Some information in VMware blog: https://blogs.vmware.com/vsphere/2015/09/open-vm-tools-ovt-the-future-of-vmware-tools-for-linux.html. My original post follows below.]
Apparently there is no official deb installer available for installing VMware Tools on Debian Linux. Instead you need to install it manually. Here is a brief memo of actions required on Debian 6.x and 7.x:
- In vSphere Client, use the command Guest – Install/Upgrade VMware Tools (it “inserts” the VMware Tools ISO in the CD drive of the guest)
- Open console/SSH to the guest as root (or use sudo as needed)
- mount /dev/cdrom /mnt
- tar xzf /mnt/VMwareTools*
- umount /mnt
- apt-get update
- apt-get install gcc make linux-headers-$(uname -r)
- cd vmware-tools-distrib
- ./vmware-install.pl
- Change the install directory if wanted, otherwise pretty much proceed with Enter for each step
- cd
- rm -rf vmware-tools-distrib
- shutdown -r now
Bonus memo #1: Some of the VMware Tools packages can be downloaded in http://packages.vmware.com/tools
Bonus memo #2: The ISO image for VMware Tools Linux install is found on the ESXi host in /usr/lib/vmware/isoimages
Thanks – this was very helpful.
9. ./vmware-install.pl -d
when the configuration too is run (vmware-config-tools.pl)
it gets and empty path for the kernel header files …
I would first check that the kernel headers are installed, as suggested in the “apt-get install gcc make linux-headers-$(uname -r)” command.
Thank You! for a simple and effective way to get something done, again.
(install vmware tools)
Bob
Obrigado, consegui instalar e estou emulando um XP no Linux Mint 18.2
Hello I have the latest open-vm-tools on Debian 8.1
But then when I execute a Site Recovery Manager plan, I get the following error “guest os not supported”. I suspect it is due to the tools passing some wrong info about the OS to SRM. In fact, in theory Debian 8.1 is supported by SRM 6.1.2 ….
any idea?