The Linux Kernel/Updating
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:
- Installing the kernel from sources, admin guide doc
- Kernel Build System doc
- https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
💾 Historical: