Linux kernel 5.12 has been released! How to install on Ubuntu

Linus Torvalds announced the release of Linux Kernel 5.12 last night.He wrote lkml:

Thank you to everyone who really calmed down last week. That makes me feel very happy about the final 5.12 release.

The new features in kernel 5.12 are:

  • Adaptive-Sync for Intel VRR / Intel Xe.
  • Radeon RX 6800/6900 Series OverDrive Overclocking Support.
  • Nintendo 64 mainline support
  • Sony PlayStation 5 DualSense controller driver.
  • Support for CXL 2.0 Type-3 memory devices
  • Support for Lenovo laptop platform profiles.
  • Improved support for Microsoft Surface devices.
  • And much more.

How to install Linux kernel 5.12.

The Ubuntu Mainline Kernel Archive provides new kernel packages via DEB files.

The· Mainline build kernel Do not include drivers or patches provided by Ubuntu. These are not supported and are not suitable for production use.

If you prefer to use the graphical tool, please refer to this tool to install the latest kernel.

To manually download the Linux 5.12 mainline kernel package, go to the link button.

Download kernel 5.12 (DEB)

select generic For general systems, and lowlatency For low latency systems (such as audio recording):

  1. linux-headers-5.12.0-xxxxxx_all.deb
  2. linux-headers-5.12.0-xxx-generic (/ lowlatency) _xxx_amd64.deb
  3. linux-modules-5.12.0-xxx-generic (/ lowlatency) _xxx_amd64.deb
  4. linux-image-xxx-5.12.0-xxx-generic (/ lowlatency) _xxx_amd64.deb

Alternatively, you can use the terminal command (Ctrl + Alt + T to open a terminal) to download and install the kernel binaries.

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12/amd64/linux-headers-5.12.0-051200_5.12.0-051200.202104252130_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12/amd64/linux-headers-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12/amd64/linux-image-unsigned-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12/amd64/linux-modules-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb

sudo dpkg -i *.deb

Once installed, restart your computer and have fun!

Uninstall Linux kernel 5.12.

Reboot the machine and in the boot menu[Grub2-> Advanced Option forUbuntu]Select Boot with the previous kernel in. Then run the command to remove Linux kernel 5.12.

sudo dpkg --purge linux-image-unsigned-5.12.0-051200-generic

Share this:

  • More

Related Posts