Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
Cannot install vmware-tools

I encounter this error:

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

share|improve this question

migrated from stackoverflow.com May 2 '11 at 11:21

marked as duplicate by Marco Ceppi Sep 1 '11 at 2:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3 Answers

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:

/usr/src/linux-headers-2.6.10-5-386/include

It should help

share|improve this answer

Hi there are still issues as listed below. Please advise

ronald@ronald-virtual-machine:~/Desktop/vmware tools/vmware-tools-distrib$ sudo ./vmware-install.pl [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/vmware-uninstall-tools.pl.

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/vmware-uninstall-tools.pl chmod: cannot access `/usr/bin/vmware-uninstall-tools.pl': No such file or directory

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/vmware-uninstall-tools.pl /usr/bin/.

then run install script again.

share|improve this answer