Kernel Build

From Biowiki
Revision as of 22:42, 1 January 2017 by Move page script (talk | contribs) (Move page script moved page KernelBuild to Kernel Build: Rename from TWiki to MediaWiki style)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


A quick and easy way to get the sources (in Debian) is to type apt-get install kernel-source

(you'll need to be root, and probably will need to specify which version of the kernel source you want)

...the "purer" way is to download the sources from

-- Ian Holmes, June 05

apt-cache search kernel-source

apt-get install kernel-source-2.4.27


There should be a tar file with the kernel source code there:

tar -xvjf kernel-source-2.4.****

This command cleans out your config files, so if you want to keep an old config, back it up before doing this:

make mrproper

From here, there are four options, the last two require some graphics libraries to be installed, and oldconfig is for minor changes:

  1. make config
  2. make oldconfig
  3. make menuconfig
  4. make xconfig