Install VMWare Tools
Install Open VM Tools on Debian 9
Add the following line to the /etc/apt/sources.list file.
deb http://ftp.debian.org/debian/ stretch main contrib
Run the commands:
$ sudo apt-get update
$ sudo apt-get install open-vm-tools
install VMware Tools in a Linux guest operating system
Ensure that your Linux virtual machine is powered on.
If you are running a GUI interface, open a command shell.
Note: Log in as a root user, or use the sudo command to complete each of these steps.
Click VM in the virtual machine menu, then click Guest > Install/Upgrade VMware Tools.
Click OK.
Note: In some cases, verify that the CDROM device is Connected from within the Edit Settings option of the virtual machine.
To create a mount point, run:
mkdir /mnt/cdrom
To mount the CDROM, run:
mount /dev/cdrom /mnt/cdrom
To copy the Compiler gzip tar file to a temporary local directory, run:
cp /mnt/cdrom/VMwareTools-version.tar.gz /tmp/
Where version is the VMware Tools package version.
To determine the version of VMware tools, run:
ls /mnt/cdrom
You see output similar to:
# VMwareTools-5.0.0-12124.tar.gz
To change to the tmp directory and extract the contents of the tar file into a new directory called vmware-tools-distrib, run:
cd /tmp
tar -zxvf VMwareTools-version.tar.gz
To change directory to vmware-tools-distrib and run the vmware-install.pl PERL script to install VMware Tools, run:
cd vmware-tools-distrib
./vmware-install.pl
To start VMware Tools running in the background during an X Window session, run:
/usr/bin/vmware-toolbox &
Depending on your environment, you may need to unmount the CD-ROM. To unmount the CD-ROM, run:
umount /mnt/cdrom
Depending on your environment, you may need to manually end the VMware Tools installation. To end the VMware Tools install, click VM in the virtual machine menu, then click Guest > End VMware Tools Install.
To remove VMware Tools installation packages, run:
cd
rm /tmp/VMwareTools-version.tar.gz
rm -rf /tmp/vmware-tools-distrib
In Case you get an GCC error
In case you get an GCC error on your Debian system, do the following
First execute this:
sudo apt-get install gcc binutils make linux-source
Then run again
/usr/bin/vmware-config-tools.pl
This is all you need to do. Now your system has the gcc make and the linux kernel sources.
For DEBIAN systems do the following:
Install Open VM Tools
Add the following line to the /etc/apt/sources.list file.
deb http://ftp.debian.org/debian/ jessie main contrib
Run the commands:
$ sudo apt-get update
$ sudo apt-get install open-vm-tools