How to Install Linux Kernel 5.7 in Ubuntu / Linux Mint

Last updated: July 16, 2020

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/amd64/linux-headers-5.7.0-050700_5.7.0-050700.202006082127_all.deb

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

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

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7/amd64/linux-modules-5.7.0-050700-generic_5.7.0-050700.202006082127_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

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

5 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.

  3. Hi Ji m, what happens when Linux Mint has caught up with kernel 5.7, will we then begin to receive patches for that kernel, or will we need to maintain this kernel manually unless we manually switch back and upgrade via the Linux Mint Software Updates interface?
    Thanks

  4. Thanks for the article. Can I also install a customized kernel like this? If not I hope to see a tutorial about that. Thank you again.