VMWare tools install failure. Unable to find "depmod" progam

depmod and other tools are found inside /sbin/. After entering these paths manually when the install script asked for them, it showed me that I should instead use the open-vm-tools packages, see http://kb.vmware.com/kb/2073803

This in turn led me to https://github.com/vmware/open-vm-tools/blob/master/README.md which eventually made me realize that they're talking about a package I can install with apt-get:

apt-get install open-vm-tools

and

apt-get install open-vm-tools-desktop

After running both, and then rebooting, my VM's screen size finally adjusts to the VM's window size and Copy & Paste works as well.


here your solution.

root@mydebian:~/vmware-tools-distrib# ./vmware-tools-distrib
This command return ERROR Setup is unable to find the "depmod" program on your machine

root@mydebian:~/vmware-tools-distrib# sudo ./vmware-tools-distrib
This command WORK and install vmware tools.


As per https://www.howtoforge.com/vmware_tools_on_linux

Install the required tools:

apt-get install autoconf automake binutils cpp gcc linux-headers-$(uname -r) make psmisc