===== Install VMware tools on Debian / Ubuntu =====
**Error gcc is not valid path to the gcc binary**
The installatinon of vmware tools 9.2.3 build-1031360 for linux completed sucessfully. you can devide to
remove this software form your system at any time by invoking the following command:
/usr/bin/vmware-uninstall-tools.pl
before running vmware tools for the first time, you need to configure it by invoking the following command:
"usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you now?
[yes]
Before you can compile modules, you need to have the following installed...
make
gcc
kernel headers of the running kernel
Searching for GCC...
the path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
What is the location of the gcc program on your machine?
locate gcc
and found that there is a folder called /usr/lib/gcc, so I tried to put that in as the location but it says that the path **/usr/lib/gcc** is not valid path to the gcc library. How do I find out where the gcc binary is on my machine is?
Install all the following packages
sudo apt-get install aptitude
sudo aptitude install libglib2.0-0
sudo aptitude install gcc-4.7 make linux-headers-`uname -r` -y
or
sudo apt-get install build-essential
sudo apt-get install gcc-4.7 linux-headers-`uname -r`