May 2, 2024

Install VMware Tools on Linux

Posted on March 2, 2019 by in Blog, Linux


How to install VMware Tools in Debian 9
su

Then, enter the root password
After entering as root successfully, issue the following command:
# apt-get install open-vm-tools open-vm-tools-desktop
Answer “YES” when you will be asked to download the installation files.

A system reboot is needed in order to activate tools but if you cannot do it right now you can go around by issuing the following command:
# vmware-user-suid-wrapper

Manually Install or Upgrade VMware Tools in a Linux Virtual Machine

If a mount point directory does not already exist, create it.
mkdir /mnt/cdrom
(Some Linux distributions use different mount point names. For example, on some distributions the mount point is /media/VMware Tools rather than /mnt/cdrom. Modify the command to reflect the conventions that your distribution uses.)

Mount the CD-ROM drive.
mount /dev/cdrom /mnt/cdrom

Change to a working directory, for example, /tmp.
cd /tmp
tar zxpf /mnt/cdrom/VMwareTools-x.x.x-yyyy.tar.gz
(The value x.x.x is the product version number, and yyyy is the build number of the product release.)

If necessary, unmount the CD-ROM image.
umount /dev/cdrom

Run the installer and configure VMware Tools.
cd vmware-tools-distrib
./vmware-install.pl