---

Building Your Own Linux Kernel, part 1

“Kernel source comes in two varieties. First, you can get the
source package from your distro. But building a Debian or Ubuntu
kernel package is different from building a Redhat or Fedora
package. You can find howtos online, but in this article I’ll be
talking about the second option: a mainline kernel.

“Kernel.org (Figure 1) is the official place to download the
latest kernel releases. Start with the full source for the latest
stable release (circled): it’ll have a filename like
linux-2.6.31.tar.bz2. Download it, unpack it, and cd into the
directory it creates:

tar xvf linux-2.6.31.tar.bz2
cd linux-2.6.31

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis