book collections email follower instructable user
Picture of compile custom linux kernel in Mint/Ubuntu/LMDE

If you didn't build linux from scratch, chances are that your GNU/Linux distro is using a long-term support distribution kernel, that as the name suggests, is specific to your distro. Distribution kernels lag behind the current version significantly. i.e., at the time this was written, Linux Mint and Ubuntu use distro versions of linux 3.16, and the current stable kernel is linux 4.0.5. Compiling a custom kernel is a neat little thing you can do to your computer, but still isn't too hard to do. You just need to be able to tell your Assembler from a hole in the ground.


Also works for Linux Mint Debian Edition, but I don't know about Debian itself. may be worth a try though :)

Step 1: Install essential packages

before you can begin, there are a few libraries and programs you have to install. They are build-essential, ncurses-base, ncurses-dev, kernel-package, and fakeroot. You may use either Software Center(Ubuntu), Software Manager(Mint), apt-get (in terminal), or Synaptic(Mint).

Mint users may omit fakeroot, because it comes installed by default.
LMDE (Linux Mint Debian Edition) users may also omit build-essential and ncurses-base, as these are also installed by default

nota bene: if you are using LMDE, there is no ncurses-dev. use libncurses5-dev instead.

MichaelM6873 years ago

Your step 5 is missing a crucial component!

SamP263 years ago

You don't have the last command in step 5

ConnyÖ4 years ago

... and the command to enter is:
make

volkerk14 years ago

thanks for the instructions!

They were encouraging me to build, for the first time, a custom kernel (3.18.0-rc3): the standard kernel did not support my 4309 bcm wifi chip correctly, and, as a consequence, the standard kernel did not boot correctly.

In my case (lubuntu 14.10), the 2 .deb - files are not created in the linux - directory of ~/Downloads, but in ~/Downloads directly! This created some cold hands to me!!!

volker