How to Install & Configure latest Kernel version on ubuntu 20.04.

The kernel is the most important unit of every operating system.It is responsible for communication between computer hardware and software applications. It is responsible for managing the processes, filesystems, I/O disks.

Install latest version of  Kernal

Check kernal version

uname -r
or
cat /proc/version

Here is the command output.

Fig 1

Download the script file.

wget https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/
ubuntu-mainline-kernel.sh

Here is the command output.

Fig 2

Execute the script file.

install ubuntu-mainline-kernel.sh /usr/local/bin/

Go to /usr/local/bin directory.

cd /usr/local/bin

Run the following command:

ubuntu-mainline-kernel.sh -i

Here is the command output.

Fig. 3

Press y.

Fig. 4

Reboot or Restart the system.

reboot

Now,Check Kernal version.

uname -r

Here is the command output.

Fig. 5

If we want to remove latest version of Kernal.Run the following command.

ubuntu-mainline-kernel.sh -u

Type any number & Press y.

Here is the command output.

Fig. 4

Again Reboot or Restart the system.

reboot

Then, check kernal version.

uname -r

 

Leave a Reply