Install or Upgrade To Latest Linux Kernel on Ubuntu 20.04 & Linux Mint 20

28/12/2020
Chưa phân loại

The kernel is the most essential and crucial unit of every OS (operating system). It enables communication between computer hardware and software applications. It is also responsible for managing the processes, filesystems, I/O disks, etc. Linus Torvalds starting Linux development in 1991 as a personal project. The Linux Kernel updates are released gradually and it is best practice to update the Linux Kernel time by time to have security fixes, bug fixes, and the latest functionality.

This guide explains the easiest and most authentic method to upgrade to the latest Kernel on Ubuntu 20.04 and Linux Mint 20. At the moment of writing, Linux Kernel 5.9 is the latest stable version.

Follow the following steps to upgrade your system’s Linux kernel to the latest version.

Step 1: Check currently installed Kernel version

First, check the currently installed Kernel version using the following system:

$ uname –r

Step 2: Download the Linux Kernel Bash Script

We will download the Linux Kernel bash script and install the latest Kernel through this script. Run the following command to download the Linux Kernel bash script:

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

Step 3: Place the Linux Kernel script in “/usr/local/bin/”

The “/usr/local/bin/” is the executable path and the Linux Kernel script must be placed into this path. Execute the following command:

Step 4: Install or update the Linux Kernel version

Now we are ready to install or update the Linux Kernel version using the following command:

$ sudo ubuntu-mainline-kernel.sh –i

The abovementioned command will find the latest version of the kernel available for Ubuntu 20.04 and Linux Mint and will install it.

During the installation, the command line will display a prompt. You should press “y” to progress with the installation process. However, if you want to cancel the installation process then press ‘n’ and hit enter.

Step 5: Reboot the system

After the successful latest Kernel installation, reboot the system using the following command:

Step 6: Verify the latest Kernel version

Once the system is a reboot, now you are ready to verify the installation of the latest Kernel version using the following command:

$ uname –r

Conclusion

The Kernel is the vital element of any OS. It performs the core responsibilities and enables communication between hardware and other applications. This guide presents the easiest way to update to the latest Kernel on Ubuntu 20.04 and Linux Mint 20.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Linux Device Driver Tutorial

Linux Device Driver Tutorial For Beginners Linux operating system contains 3 main sections: Root File System, Kernel and...
28/12/2020

Mẹo #4 : Hướng dẫn định tuyến lưu lượng truy cập thông qua VPN

Nếu bạn đang sử dụng OpenVPN với tư cách là máy khách , bạn muốn  lưu lượng truy cập của bạn...
30/12/2020

How to Install DEB Packages on Ubuntu

The package files of Ubuntu have the extension .deb and it’s also called DEB files. On Ubuntu, there are many ways to...
29/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Dịch Vụ Xây Dựng Hệ Thống Peering Với Internet Exchange (IXP)
04/04/2025

Dịch Vụ Triển Khai VPN Site-to-Site & Remote Access
04/04/2025

Dịch Vụ Thiết Lập Hệ Thống Tường Lửa (Firewall)
04/04/2025

Dịch Vụ Triển Khai Hệ Thống Ảo Hóa & Cloud
04/04/2025

Dịch Vụ Triển Khai Hệ Thống Ceph
04/04/2025