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

14. June 2016 CentOS, RHEL 0
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


Leave a Reply

Your email address will not be published. Required fields are marked *