vmware安装centos7遇到问题Enter the path to the kernel header

 

yum装好以后继续运行./ vmware-install.pl 然后出了下面的情况
Enter the path to the kernel header files for the 3.10.0-957.el7.x86_64
kernel?

INPUT: [] default

The path “” is not a valid path to the 3.10.0-957.el7.x86_64 kernel headers.
Would you like to change it? [yes]
INPUT: [yes] default


运行以下两条命令
yum -y install perl gcc make kernel-headers kernel-devel

yum -y install kernel-devel-$(uname -r)

 


运行./ vmware-install.pl然后一直按回车就ok了。

posted @ 2022-09-07 12:55  然然1907  阅读(388)  评论(0编辑  收藏  举报