我是靠谱客的博主 纯情时光,这篇文章主要介绍vmware + centos 7安装vmtools时提示The path "" is not a valid path to the xxx kernel header,现在分享给大家,希望可以做个参考。

在安装vmtools时无意中出现了这样的问题
1.gcc错误
Searching for GCC…
The path “” is not valid path to the gcc binary.
2.内核头文件问题
Searching for a valid kernel header path…
The path “” is not a valid path to the xxx kernel headers.
这里我的解决方法是
先按 ctrl+终止命令
2.然后安装centos7所需要的内容
运行以下命令

复制代码
1
2
3
yum -y update yum -y install kernel-headers kernel-devel gcc

重启系统之后再次进行安装
这里写图片描述
这里输入no
接下来也是输入no
这里写图片描述
最后一路到底就可以安装成功了

最后

以上就是纯情时光最近收集整理的关于vmware + centos 7安装vmtools时提示The path "" is not a valid path to the xxx kernel header的全部内容,更多相关vmware内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(86)

评论列表共有 0 条评论

立即
投稿
返回
顶部