Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I encounter this error:

The path /usr/src/linux/include is not an existing directory.

Hi there are still issues as listed below. Please advise

ronald@ronald-virtual-machine:~/Desktop/vmware tools/vmware-tools-distrib$ sudo ./
[sudo] password for ronald:
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed. Continuing this install will 
first uninstall the currently installed version. 
Do you wish to continue? (yes/no) [yes]

Error: Unable to execute "/usr/bin/

Uninstall failed. Please correct the failure and re run the install.

Execution aborted.

ronald@ronald-virtual-machine:~/Desktop/vmware tools/vmware-tools-distrib$ `chmod +x /usr/bin/`

chmod: cannot access `/usr/bin/': No such file or directory
share|improve this question

This also happened to me when I interrupted vmware tools upgrade. it seems, the first thing the upgrade does is delete all files in the system. the uninstall script being the first one and that's why you can't find it.

I don't understand why the installation gets interrupted+ if the uninstall script is not found (for me, that's just a bad decision), but the mounted device comes with its own script which you can use to delete everything. a simple

locate vmware-uninstall

outputed its location and for me it was in


For you, the only difference should be ronald instead of *my_username*. Hope that helps.

share|improve this answer

you should install the header first

apt-get install linux-headers-2.6.10-5-386(name of your kernel)

and then enter on the vmware installation:


It should help

share|improve this answer

It appears that vmware is trying to uninstall the older version before installing the newer one, but is failing to do so.

  1. I would manually uninstall the old version of vmware tools by typing the following command into the terminal:

    sudo apt-get remove vmware

Note: the word "vmware" is just a guess as to what the name of this package is. If this gives you an error like "Unable to locate package" then try changing the word vmware to whatever you think the package name is.

  1. Once vmware is unstalled, try installing the newer package.
share|improve this answer

I solved this same problem doing fixes below. I would summarize issue as aborting a vmware-install when kernel headers not found. Pressing Ctrl-C during vmware-install can cause the "Error: Unable to execute "/usr/bin/" in several cases in general.

To install the kernel headers needed by vmware tools run uname -r (to get kernel name) and apt-get below. Might end up needing to do this even after a 'sudo apt-get install build-essentials' when you update to a leading edge kernel via 'sudo apt-get dist-upgrade' or manually. I added build-essential to apt-get because you always need it for vmware tools.

$ uname -r
$sudo apt-get install linux-headers-3.5.0-46-generic build-essential

To correct "Error: Unable to execute "/usr/bin/" do a sudo copy of the from the new vmware tools you want to install to the location it is looking for it (typically /usr/bin)

As an example, I usually open a terminal and change directory to /tmp then click on VMware menu Manage then option "Reinstall VMware Tools..." then (once VMware mounts its CDROM of latest tools) copy tar from read-only CDROM to /tmp as below (based on a version 9.6.1-1378637)

$ cd /tmp
$ cp /media/my_username/VMware\ Tools/VMwareTools-9.6.1-1378637.tar.gz .
$ tar -xzf VMwareTools-9.6.1-1378637.tar.gz
$ cd vmware-tools-distrib
$ cp bin/ /usr/bin/
$ sudo ./
share|improve this answer

The vmware install script checks if the package is present on your installation. The solution is to purge the package:

sudo dpkg --purge open-vm-tools
share|improve this answer

Run sudo rm -R /etc/vmware OR sudo rm -R /etc/vmware-tools

this will remove settings and you can install new one.

share|improve this answer

copy uninstall script from vmware-tools-distrib/bin/ to /usr/bin as following command:

cp path_to_extracted_vmware-tools_dir/bin/ /usr/bin/.

then run install script again.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.