Saturday, December 28, 2024
Google search engine
HomeGuest BlogsInstall Linux Kernel 5.15 on Ubuntu / Linux Mint

Install Linux Kernel 5.15 on Ubuntu / Linux Mint

.tdi_3.td-a-rec{text-align:center}.tdi_3 .td-element-style{z-index:-1}.tdi_3.td-a-rec-img{text-align:left}.tdi_3.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_3.td-a-rec-img{text-align:center}}

Linux Kernel 5.4 has been released with Plenty of New features and bug fixes. This guide exists to help you install Linux Kernel 5. on Ubuntu & Linux Mint system. By default, Ubuntu systems runs the Linux Kernels provided by the Ubuntu repositories.

It is possible to run the unmodified upstream kernel, for Kernel debugging, verifying bug fixes or for learning purposes. We will use Ubuntu Proposed PPA to install Kernel 5.x on Ubuntu or Linux Mint system.

For CentOS 7, check How to Install Linux Kernel 5.x on CentOS 7

.tdi_2.td-a-rec{text-align:center}.tdi_2 .td-element-style{z-index:-1}.tdi_2.td-a-rec-img{text-align:left}.tdi_2.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_2.td-a-rec-img{text-align:center}}

Install Linux Kernel 5.x on Ubuntu / Linux Mint

Start by installing updating and upgrading you system

sudo apt update && sudo apt -y full-upgrade
[ -f /var/run/reboot-required ] && sudo reboot -f

Add Ubuntu Proposed PPA repository

If you’re missing the add-apt-repository command, check How to Install add-apt-repository on Debian / Ubuntu.

Then add the repository to your Ubuntu system:

$ sudo add-apt-repository ppa:canonical-kernel-team/proposed -y
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Get:2 http://ppa.launchpad.net/canonical-kernel-team/proposed/ubuntu focal InRelease [17.6 kB]
Get:4 http://ppa.launchpad.net/canonical-kernel-team/proposed/ubuntu focal/main i386 Packages [21.5 kB]
Get:5 http://ppa.launchpad.net/canonical-kernel-team/proposed/ubuntu focal/main amd64 Packages [223 kB]
Get:6 http://ppa.launchpad.net/canonical-kernel-team/proposed/ubuntu focal/main Translation-en [65.0 kB]
Hit:7 http://ke.archive.ubuntu.com/ubuntu focal InRelease
Hit:8 http://ke.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:9 http://ke.archive.ubuntu.com/ubuntu focal-backports InRelease
Fetched 327 kB in 1s (320 kB/s)
Reading package lists... Done

Install Linux Kernel 5.x on Ubuntu / Linux Mint

We shall install Linux Kernel 5.15 from the repository we just added:

sudo apt update
sudo apt install linux-image-5.15.*-*-generic
sudo apt install linux-headers-5.15.*-*-generic

Once the installation is complete, reboot your Ubuntu system to use new Kernel

sudo reboot

Check new Kernel booted on the system

$ uname -r
5.15.0-23-generic

Output from neofetch utility.

install kernel 5.x ubuntu linux mint

Uninstalling Kernel 5.x on Ubuntu / Linux Mint

You can always roll back to your old Linux Kernel. But you’ll have to first install a different Kernel Version and boot to it.

After booting to Old Kernel, remove packages installed:

sudo apt remove linux-image-5.15.*-*-generic linux-headers-5.15.*-*-generic

For CentOS 7, check How to Install Linux Kernel 5.x on CentOS 7

Also check:

.tdi_4.td-a-rec{text-align:center}.tdi_4 .td-element-style{z-index:-1}.tdi_4.td-a-rec-img{text-align:left}.tdi_4.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_4.td-a-rec-img{text-align:center}}

RELATED ARTICLES

Most Popular

Recent Comments