DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm running debian etch RC4 in VMWare on top of windows. As part of VMware, one is supposed to install something called vmware-tools.
The installation script for vmware tools is posing the question below. I checked and don't have such a directory. How should I respond to this question?
What is the location of the directory of C header files that match your running
Kernel sources, by definition are at /lib/modules/`uname -r`/source/include. However, if you didn't compile the kernel yourself, then there is no-one at that address. What you have to do is install the linux-headers package for your kernel. Probably "linux-headers-2.6.18-3", since it's etch.
Last edited by Quakeboy02; 03-16-2007 at 08:27 PM.
To install the kernel headers, you can apt-get install linux-headers-`(uname -r)` and they'll be installed in /usr/src/linux-headers-<your_kernel_version>. (If, for example, you want to use the proprietary nvidia installer, you'll need the headers.)
To get the source for the entire kernel, you can apt-get install linux-source and apt will grab the source for your currently running kernel. Installing this package just dumps a tarball (for example, "linux-source-2.6.18.tar.bz2") into /usr/src. You have to extract it yourself. (If, for example, you want to recompile your kernel, you'll need the sources.)
The headers get installed in /usr/src/linux-headers-xxxx. Follow eco2geek's first sample command. There will actually be two packages installed, one called "linux-headers-2.6.18" the other called "linux-headers-2.6.18-xxxx", the latter depends on the current running kernel.
The headers are used to compile drivers against the current running kernel, the source is used for compiling a kernel, (normally).