[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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


-- 
Duncan Baynes <d_baynes@iprimus.com.au>



Reply to: