How to Install Linux Kernel 5.7 in Ubuntu / Linux Mint

June 2, 2020 — 3 Comments

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

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

3 responses to How to Install Linux Kernel 5.7 in Ubuntu / Linux Mint

  1. Another method (graphical and with update notifications) is to use Ukuu https://github.com/teejee2008/ukuu

  2. Thank you Ji m, This is great help. I have one question. After we install kernel 5.7 on ubuntu 20.04, does it still get all the necessary updates such as security?

    • You won’t get kernel-level patches from Canonical (company behind Ubuntu), as Ubuntu-maintained kernels always lag behind. Other system and security updates will go as before.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*