Jump to content

The Linux Kernel/Updating

75% developed
From Wikibooks, open books for an open world


The most of Linux system distributions update the kernel automatically to recommended and tested release. If you want to research your own copy of sources, compile it and run you can do it manually.

Here is short and fast starting instruction:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git 
cd linux
cp /boot/config-$(uname -r) .config  # reuse current working config
make olddefconfig # configure using current config and default options
make
sudo make modules_install install


Other make targets for configuration

  • menuconfig
    • requires libncurses5-dev
  • gconfig
    • requires libglade2-dev
  • xconfig
    • requires libqt4-dev


📚 References:


💾 Historical: