DebianThis forum is for the discussion of Debian Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
Thanks,
Siegfried
---------------------------------------------------------------------------
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
I would say on Debian site the file for matching the kernel that is running will be there to install. To find kernel version run the command ' uname -r '.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.