【转载自https://dojo25.blogspot.hk/2016/10/i-downloaded-new-kali-rolling-recently.html】
找了好些方法都没成功,就这篇博客成功了。做个笔记
“” is not valid path to the gcc binary (installing vmware tools on Kali Rolling)
i downloaded the new kali rolling recently and decided to fire it up on a VM today.
however i encouter an error during the vmware tools installation:
Searching for GCC...
the path "/usr/bin/gcc" is not valid path to the gcc binary.
Would you like to change it? [yes]
therefore i issue " where gcc " at the terminal to find the gcc path
even i type in the correct gcc path, the problem remains.
but eventually i had it fix. here's the solution:
first, i updated the repositories sources.list which can be found at
http://docs.kali.org/general-use/kali-linux-sources-list-repositories
after i update my sources.list, i enter the following on the terminal
apt-get update && apt-get dist-upgrade
after the updates type
apt-get install open-vm-tools-desktop fuse
then
reboot
-
additional info:
According to Kali's Website " VMware recommends using the distribution-specific
open-vm-tools instead of the VMware Tools package for guest machines " http://kb.vmware.com/kb/2073803