安装wmwaretools找不到kernel header

原创 2013年08月22日 10:39:44
问题提示:
Searching for a valid kernel header path...
The path "" is not valid.
Would you like to change it? [yes]
 
What is the location of the directory of C header files that match your running kernel?
What VMWare needs is the kernel-header and kernel-devel package from the same version with your current loaded kernel. You can check your loaded kernel by using following command:

$uname -r
2.6.32-71.el6.x86_64

Solution is to update your kernel to the latest stable version provided by the repository. But you need to have downtime on this. Steps as below:

1. Update the kernel:
  $ yum update kernel -y
2. Install the kernel-headers, kernel-devel and other required packages:
  $ yum install kernel-headers kernel-devel gcc make -y
3. Reboot the server to make sure it load to the new kernel:
  $ init 6
4. The kernel version has been updated including the kernel-headers and kernel-devel:
  $uname -r
  2.6.32-71.29.1.el6.x86_64
  $rpm -qa|grep –e kernel-headers –e kernel-devel
  kernel-headers-2.6.32-71.29.1.el6.x86_64
  kernel-devel-2.6.32-71.29.1.el6.x86_64

kernel-2.6.32-431.el6.x86_64

  • 2017年01月20日 17:00
  • 4.35MB
  • 下载

CentOS6.2编译gcc失败,kernel-headers错误

准备转移到阿里云服务器,用的CentOS6.2 x64,虚拟机上用的 6.3版本,测试重装了好几次都没问题了,结果在云服务器上刚开始就出问题了。。。 yum 安装的时候居然出错了,靠。。。网上 go...
  • zsjangel
  • zsjangel
  • 2014-02-20 23:32:32
  • 2462

VMwareTools安装及出现kernel header path的解决方法

1.将安装文件提取到本地磁盘 打开加载的VMwareTools光盘,鼠标右键 VMwareTools-*.tar.gz 文件,提取到系统盘下的文件夹,这里 以 Documents 为例。 文件名版本号...
  • u013162548
  • u013162548
  • 2015-05-07 22:09:29
  • 3965

VMware kernel headers for versions ... not found解决办法

前段时间在Ubuntu里装了个VMware玩玩,结果升级内核后,VWware跑不起来了,老是报kernel headers for versions ... not found错误,一开始在启动项了选...
  • ritterliu
  • ritterliu
  • 2012-05-10 15:41:15
  • 6653

Ubuntu13.04安装VMware9出错:Kernel Headers for version X.X.XX-XX-generic were not found

如图: 百度了好长时间没解决。。最后还是Google给力,翻了一堆英文网页,找到个解决方案: sudo apt-get install linux-headers-$(uname -r...
  • change518
  • change518
  • 2013-05-26 19:10:34
  • 6011

vmware安装虚拟机centos系统提示需要kernel headers终极解决办法

最直观的思路安装kernel headers不就好了么,于是输入命令: yum install kernel-headers 可是安装完以后重新安装vmware-tools时还是提示需要kerne...
  • axiaochong
  • axiaochong
  • 2014-10-10 18:03:04
  • 2845

Linux打开VMWare无法找到kernel header path的问题解决

其实很简单,只要安装Linux Headers就行了,两句命令搞定: sudo apt-get update sudo apt-get install build-essential lin...
  • dj1174232716
  • dj1174232716
  • 2015-07-04 17:29:00
  • 1055

关于kernel-devel、kernel-header和kernel src的区别

1、转载1 A kernel-header package would contain 'header files' needed by some applications which would...
  • u012450329
  • u012450329
  • 2017-01-06 14:28:29
  • 3940

安装KERNEL HEADERS

$sudo apt-get install linux-headers-$(uname -r) 管理员在...
  • kelsel
  • kelsel
  • 2016-10-08 16:52:09
  • 682

linux安装vmware出现kernel-header问题

前几天需要在centos上安装vmware,但安装后启动是出现内核头错误,如图所示, 于是查看日志文件, cat /tmp/vmware-xiuyuan/vmware-modconfig-...
  • wpzsidis
  • wpzsidis
  • 2017-10-13 09:21:23
  • 476
收藏助手
不良信息举报
您举报文章:安装wmwaretools找不到kernel header
举报原因:
原因补充:

(最多只允许输入30个字)