What is the path to the kernel headers so I can install vmware?

I mounted the VMware package on my Ubuntu 11.04 efficiently yet when I open it it offers me this window

and also I do not recognize the course to this C headers.

90
2022-06-07 15:15:56
Source Share
Answers: 4

Below commands are really handy for you:

Step 1: Ctrl+Alt+T

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

Step 3: The course to the kernel headers is after that /usr/src/linux-headers-$(uname -r)/include

49
2022-06-10 15:46:04
Source
cd /lib/modules/$(uname -r)/build/include/linux
sudo ln -s ../generated/utsrelease.h
sudo ln -s ../generated/autoconf.h
sudo ln -s ../generated/uapi/linux/version.h 

After including the symlink, the course is /usr/src/linux-headers-$(uname -r)/include (Thanks @Kariem!)

103
2022-06-08 02:18:08
Source

CTRL+ALT+t

sudo apt-get install linux-headers-generic

5
2022-06-07 17:35:23
Source

My first hunch is that you have not mounted the headers. You require to install the ideal linux - headers plan. More than likely, you require to install linux-headers-generic. Nonetheless, if if you are running some kernel apart from linux-generic, install the linux - headers plan for that kernel.

If you've currently mounted the headers, they need to remain in /usr/src.

8
2022-06-07 15:49:50
Source