Solve missing files for VMWare tools

install essentials:
Create a symbolic links for kernel headers.

The vmware tools installer is looking for the version.h file in under [kernelsource path]/include/linux/version.h,
it’s not there.
The location of version.h is [kernelsource path]include/generated/uapi/linux/version.h

sudo apt-get install --assume-yes build-essential
sudo apt-get install --assume-yes linux-headers-$(uname -r)
sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h

Leave a Reply