Peretz
Peretz

Reputation: 1126

Header files not found while installing VMWare tools in Kubuntu. Any idea why?

I am using a Kubuntu image using VMWare.

In order to share files between the host and the guest OS. I need to install the VMWare tools as described here. However, when running the step

./vmware-install.pl

it triggers the following question

What is the location of the directory of C header files that match your running kernel?

Any idea why is this happening?

Upvotes: 3

Views: 8499

Answers (1)

Lekensteyn
Lekensteyn

Reputation: 66415

In Kubuntu, you need to install the Linux kernel headers using:

sudo apt-get install linux-headers-generic

If you haven't upgraded your packages yet, use the following to install the headers for the current loaded kernel:

sudo apt-get install linux-headers-$(uname -r)

Upvotes: 4

Related Questions