How to install vmware tools?

Posted by Tom on Ask Ubuntu See other posts from Ask Ubuntu or by Tom
Published on 2012-05-04T09:50:10Z Indexed on 2012/10/08 3:48 UTC
Read the original article Hit count: 261

Filed under:

I installed my Ubuntu in vmware, no I need install vmware tools, I got error:

Searching for a valid kernel header path... The path "" is not valid. Would you like to change it?[yes]

In CentOS, I run the following command to resolve this issue:

yum install gcc-c++
yum install kernel-devel
yum install kernel-headers
yum -y update kernel

But I don't know how to do in Ubuntu. Please help.

Update I have tried the following command but nothing changed,still got error:

Searching for a valid kernel header path... The path "" is not valid. Would you like to change it?[yes]

  • sudo apt-get update
  • sudo-get install build-essential linux-header-$(uname -r)
  • sudo ./vmware-uninstall-tools.pl
  • sudo ./vmware-config-tools.pl
  • sudo ./vmware-install.pl

Issue Changed:

Run sudo ./vmware-uninstall-tools.pl, and delete the folder of /etc/vmware-tools then, run sudo ./vmware-install.pl Now I can successfully install vmware-tool.After restart, I can see folder of /mnt/hgfs, but can't see my shared folder.

© Ask Ubuntu or respective owner

Related posts about vmware