How to Compile the Linux Kernel

Written By
Web Webster
Web Webster
Sep 16, 2010

“Compiling the Linux kernel used to be a rite of passage, or
just a necessity, for running Linux. It’s not something most users
need to do any more, but if you really want to compile your own
kernel we’ll show you how.

“Even though it’s not necessary, a lot of users still want to
know how to compile the Linux kernel. Unfortunately, there’s not
just one way to do it. I’ll show one way to build a kernel from
source, but you may want to consult your distribution’s
documentation for the proper way to build from source for your
distribution. Here we’re going to build from source and install
directly without creating an RPM or Debian package for the kernel.
If there’s a lot of demand, we’ll do specific tutorials on creating
kernels for Ubuntu and Fedora. Word of Warning

“When I first started using Linux in 1996, it was almost
mandatory to compile your own kernel. Thankfully, things have
change a lot since then. It’s very rare that you need to compile
your own kernel these days”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.