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 kernel packages for Linux 5.7 (64-bit only) are now available for download at the link below:
Select generic
for common system, and lowlatency
for a low latency system (e.g. for recording audio):
- linux-headers-5.7.0-xxxxxx_all.deb
- linux-headers-5.7.0-xxx-generic(/lowlatency)_xxx_amd64.deb
- linux-modules-5.7.0-xxx-generic(/lowlatency)_xxx_amd64.deb
- 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
Another method (graphical and with update notifications) is to use Ukuu https://github.com/teejee2008/ukuu
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.
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
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.