How to Install Linux Kernel 5.7 in Ubuntu / Linux Mint

Linux Kernel

Linus Torvalds announced the release of Kernel 5.7 a few days ago. Here’s how to install it in 64-bit Ubuntu and Linux Mint.

New features in Linux 5.7 include:

  • Support Intel Tiger Lake “Gen12” graphics out-of-the-box.
  • AMD Ryzen 4000 “Renoir” mobile graphics support
  • New exFAT driver from Samsung
  • Support for Apple USB Fast Charge
  • Zstd compression support for F2FS file-system.

How to Install Linux Kernel 5.7 in Ubuntu:

The mainline kernels do not include any Ubuntu-provided drivers or patches. They are not supported and are not appropriate for production use

The mainline kernel packages for Linux 5.7 (64-bit only) are now available for download at the link below:

Download Kernel 5.7

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio):

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

Alternatively you can download and install the kernel binaries via terminal commands ( open terminal via Ctrl+Alt+T):

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7/linux-headers-5.7.0-050700_5.7.0-050700.202005312130_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7/linux-headers-5.7.0-050700-generic_5.7.0-050700.202005312130_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7/linux-image-unsigned-5.7.0-050700-generic_5.7.0-050700.202005312130_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7/linux-modules-5.7.0-050700-generic_5.7.0-050700.202005312130_amd64.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.7:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.7:

sudo dpkg --purge linux-image-unsigned-5.7.0-050700-generic