Updating the kernel

19 Jun

For this purpose, we will use a command-line utility named 'byobu'.It's a great utility to safely remove and purge an old kernel from the system and will never remove the currently running kernel. sudo apt install byobu Whet it's complete, check installed kernel version on the system.wget install the packages with the dpkg command below.dpkg -i *When the kernel package installation is complete, update grub and reboot the system.By default, byobu will keep at least 2 kernel version on the system to ensure that you have a fallback kernel when the first one fails.If you want to keep the only one (the latest) kernel, then you can use the command below to remove all except of one Kernel.In this step, we will upgrade the used kernel to the latest mainline kernel build version 4.11.2.All mainline kernel build can be downloaded from this site -

updating the kernel-57updating the kernel-52updating the kernel-41updating the kernel-3

sudo apt update Then upgrade all packages installed with the command below.uname -msr You will get the kernel version as below.Linux 4.4.0-78-generic x86_64 This means, we are using the Generic Linux kernel version 4.4 with x86_64/64-bit system. If you want to use your box for tasks like editing, encoding video and audio, it's e.g.Linux 4.11.2-041102-generic x86_64 At this stage, the kernel version of our server is updated to 4.11.2.In this step, we will remove the old kernel and just leave the new version that we are using now.