Kernel-source

Derek Broughton news at pointerstop.ca
Mon Nov 19 15:51:14 UTC 2007


Nils Kassube wrote:

> Rein Mann wrote:
>> I am running Ubuntu 6.06 LTS on a Dell Inspiron 1520
>> To install my NVIDIA driver I need to install the kernel headers and
>> sources. Can someone tell me where from and how to install the kernel
>> source for the running kernel (2.6.15-29-386)?
>> When I do a sudo apt-get install kernel-source (with or without the
>> actual version!) the answer is : 'can't find kernel-source'.
>> I have not been able to find a clear answer anywhere.
> 
> For compiling the nvidia driver you don't need the entire kernel source,
> but only the kernel headers - 'linux-headers-2.6.15-29-368' would be the
> package name. Furthermore you should install the 'build-essential'
> package to compile the nvidia driver.
> 
> If you really want to install the entire kernel source, you need a source
> repository enabled in your /etc/apt/sources.list (edit as root), i.e.
> there should be a line like this:

Huh?  Source comes as a standard package, just like headers. Even back in
the day, when I used to compile my own kernels, I never got them from the
source repo. The current gutsy kernel source package is linux-source-2.6.22

The only difference between what Rein is looking for (Debian names, iirc)
and what Ubuntu has, is that he's looking for kernel packages named
kernel-* and ubuntu uses linux-*
-- 
derek





More information about the ubuntu-users mailing list