主机 - Windows 7
访客 - CentOS
我正在尝试安装kernel-headersusing,yum因为在安装过程中vmware-tools我收到一条消息,询问3.10.0-229.7.2.e17.x86_64 的内核头文件的路径。
运行yum install kernel-headers返回Package kernel-headers-3.10.0-229.7.2.e17.x86_64 already installed 和最新版本。但是目录/usr/src/kernels是空的。
内核头文件是否安装在其他地方?或者我应该要求yum安装其他东西?
为内核头文件提供给 vmware-tools 的路径
Searching for a valid kernel header path...
The path "" is not a valid path to the 3.10.0-229.7.2.e17.x86_64 kernel headers.
Would you like to change it? [yes]
Run Code Online (Sandbox Code Playgroud)
提供路径/usr/include/linux再次给出相同的响应,但用提供的路径替换“”。