VMware Communities
maguphe
Contributor
Contributor

error during vm workstation 12 pro install on Centos 7.2

I'm a newbie with CentOS (and with all Linux OS) and trying to install VMware workstation 12 pro on CentOS 7(1511). 

I was following this website: http://www.tecmint.com/install-vmware-workstation-in-linux/ to install vmware, but I'm stuck in step 10.

I keep getting "Error - C header files matching your running kernel were not found.... "  The below is not the error screenshot.  Mine has the Kernel Headers 3.10.0-327.22.2.el7.x86_64 instead.

vmware error.jpg

And it's looking for "kernel-headers-3.10.0-327.22.2.el7.x86_64, but I currently have the latest kernel (3.10.0-327.28.3.el7) and found only "kernel-headers-3.10.0-327.28.3.el6.x86_64" file when I issued "rpm -qa kernel* | sort"

What should I do? Can I force the workstation 12 to use the running kernel instead of the 22.2 version? or can I download the 22.2 header and point the installer to the file?

Tags (2)
Reply
0 Kudos
1 Reply
tracywang
Expert
Expert

Thanks for using Workstation. You can use:

yum groupinstall "Development Tools"

to install the development tools which including kernel headers. Make sure your Cent os has network connection.

Reply
0 Kudos