centos 7 下完整安裝vmtools
#./vmware-install.pl
bash:./vmware-install.pl :/usr/bin/perl:bad interpreter:No such file or directory.
如果出現這個提示,則表明系統沒有安裝Perl環境,可以使用如下指令來提供Perl支援:
#yum groupinstall "Perl Support" -y
Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
如果出現這個就表明gcc沒有安裝
yum install gcc gcc-c++ automake make -y
将編譯環境一次裝好
Searching for a valid kernel header path...
The path "" is not valid.
Would you like to change it? [yes]
如果出現這個就表示kernel-devel包沒有安裝
yum install kernel-devel -y
成功安裝VMware tools時的提示:
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
Searching for a valid kernel header path...
Detected the kernel headers of the running kernel at
"/lib/modules/2.6.32-71.el6.i686/build/include".