CentOS 7 安装 vmware tools 提示The path “” is not a valid path to the 3.10.0-514.26.2.el7.x86_64 kernel headers.

[box style=”info”]

错误提示

Searching for a valid kernel header path…
The path “” is not a valid path to the 3.10.0-514.26.2.el7.x86_64 kernel
headers.
Would you like to change it? [yes]

Enter the path to the kernel header files for the 3.10.0-514.26.2.el7.x86_64
kernel?

The path “” is not a valid path to the 3.10.0-514.26.2.el7.x86_64 kernel
headers.
[/box]

1.选择ctrl+z停止

2.安装 kernel-devel

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

3.重新运行./vmware-install.pl

报错问题就此解决。

You may also like...

1个回复

  1. aaa说道:

    电子邮件地址不会被公开。 必填项已用*标注

发表评论

电子邮件地址不会被公开。 必填项已用*标注