RE: Where is kernel source?
-----Original Message-----
From: Duncan Baynes [mailto:d_baynes@iprimus.com.au]
Sent: Friday, February 14, 2003 9:16 PM
To: debian-user@lists.debian.org
Subject: Re: Where is kernel source?
On Sat, 2003-02-15 at 12:03, David Turetsky wrote:
> Iÿm looking for the debian linux kernel source
>
>
>
> Apparently itÿs not kept at /usr/src/linux
>
>
>
> --
>
> David
Hi,
I think you'll find the source is in /usr/src it'll be a file called
something like 'kernel-source-2.4.20.tar.bz2'
If you don't have the kernel source install you need to type 'apt-get
install kernel-source-2.4.20' (change the version numbers to the one you
want!!)
you need to extract this file:
ie. 'tar -jxvf kernel-source-2.4.20.tar.bz2'
this will extract the source code into a directory called (in this
example) 'kernel-source-2.4.20'
you should then create a sym. link
ie. 'ln -s kernel-source-2.4.20 linux'
you can then change to /usr/src/linux and compile your new kernel!
Bye,
Duncan
Excellent. Thanks. I stopped just short of compiling the new kernel
(perhaps another day). I needed this to accommodate the installation of
an 'el cheapo' winmodem driver supported under linux
--
David
Reply to: