The path “” is not a valid path to the kernel headers

Issue

  • You are trying to install vmware-tools on RHEL / CentOS 7
  • You are stuck with the below error.
    The path "" is not a valid path to the 3.10.0-327.el7.x86_64 kernel headers.

Solution

  • You have to install the below two packages,
    kernel-headers and kernel-devel
    You can run the below command to install those via yum.

yum install -y kernel-headers and kernel-devel

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Scroll to Top