O'Reilly logo

Practical Linux by Bill Ball, John Ray, Michael Turner, M. Drew Streib

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Recompiling the Kernel

Every once in a while, it is worthwhile to see whether a new kernel for Linux has been released. Usually new kernels provide fixes for problems that people have experienced, or provide performance improvements (usually both). The new kernels can also contain more device drivers. This section discusses how to obtain, compile, and install a new kernel on your Linux system.

The official repository for Linux kernels is the FTP site ftp://ftp.kernel.org/pub/linux/kernel/. The Linux installation program might have placed the source code to your current kernel in the /usr/src/linux directory on your hard disk. This might be a symbolic link to the actual source directory.

The disclaimer

The process of compiling and installing kernels ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required