411 REFERENCE · Wikibooks
The Linux Kernel/Updating
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
75%
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 localyesconfig # update current config converting local mods to core
make
sudo make 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 admin-guide/README.html#installing-the-kernel-source
Kernel Build System kbuild
📚 Further reading
Updating the kernel on RHEL 10 How to build an Ubuntu Linux kernel
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
💾 Historical:
https://linuxreviews.org/Kernel_Rebuild_Guide