How to Fix “Failed to Install VMware Tools” Error

Question : I am trying to install VMware tools on CentOS and RHEL but failed and return below error:

    Searching for a valid kernel header path...
    The path "" is not valid.
    Would you like to change it? [yes]

Answer : This is because your server have not installed required dependencies or any of the required compiler. To fix this issue, please run below command to install required dependencies.

[root@server ~]# yum -y install gcc make perl kernel-headers kernel-devel

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>