Mailing List Archive


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

[tlug] Re: Compiling HOWTO!



"Ahmed Sarwar" <l_gohordi@example.com> writes:

> I thought there's a command like:
> apt-get-upgrade kernel-2.6.x and it does everything
> for me while I'm have coffee :-)

apt-get install kernel-image-2.6.8-1-386 (or -686, or the appropriate
architecture; use apt-cache search ^kernel-image-2.6 to see your
choices) will install a generic kernel, in case your system works with
stock. 

apt-get install kernel-source-2.6.8 will install a .tar.bz2 into
/usr/src/ . You can also get the Linux kernel sources the normal way.

You could configure the kernel by copying .config and doing a make
old-config, but it's such a big jump from 2.2 to 2.6 that you're
probably better off doing make xconfig/menuconfig/gconfig and going
through all the options again. =) The QT interface is a vast
improvement over the Motif one, I think.

If you prefer custom kernels, you may want to check out
kernel-package. After you configure the kernel, you can run make-kpkg
to build a .deb containing your custom kernel while you go and have
coffee. Then you can install it with dpkg -i.

See the README in the 2.6 kernel sources for more details on compiling,
as the build process changed. =)

-- 
Sacha Chua <sacha@example.com> - open source geekette
interests: emacs, gnu/linux, making computer science education fun
wearable computing, personal information management
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links