Linux Kernel 5.4 Released! How to Install it in Ubuntu

Last updated: November 25, 2019

Linux Kernel

Linux 5.4 Kernel was released today. Here’s how to install it in Ubuntu and Linux Mint.

Linus Torvalds announced the 5.4 Kernel on lkml.org:

Not a lot happened this last week, which is just how I like it. And as expected, most of the pull requests I got were for the 5.5 merge window, which I’ll obviously start working through tomorrow.

Linux 5.4 Kernel brings a lot of new hardware support,including AMD Arcturus GPU, Navi 12 and Navi 14 GPUs, AMD Dali and Renoir APU support,Intel Tiger Lake “Gen 12” graphics,Qualcomm Snapdragon 855 SoC, Intel Ice Lake Thunderbolt support. The new release also features Logitech Linux LOCKDOWN LSM, Lightspeed receiver support, Microsoft exFAT support, and a plethora of other new features and improvements.

How to Install Linux Kernel 5.4 in Ubuntu:

The mainline kernel packages for Linux 5.4 are available for download at the link below:

Depends on your OS type, download and install the packages in turns:

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

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

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

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-headers-5.4.0-050400_5.4.0-050400.201911242031_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-headers-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-image-unsigned-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-modules-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

sudo dpkg -i *.deb

No 32-bit packages so far as build for 32-bit failed.

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.4:

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.4:

sudo dpkg --purge linux-image-unsigned-5.4.0-050400-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 ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

7 responses to Linux Kernel 5.4 Released! How to Install it in Ubuntu

  1. Hi Ji M, thank you for your post.

    I’m trying this for the first time and I found that I would need to install an extra package because I use Virtual Box.

    Would you consider explain to me how is that accomplished ?

    Have a good day.

  2. Using Kubuntu 19.10 on a Ryzen 3700X and an MSI X570 mb and it does not work. After selecting Ubuntu from the grub menu I get these messages:

    1/ couldn’t get size: 0x80000000000e and
    2/ kvm: disabled by bios (repeatedly)

  3. I installed the 5.4 kernel mainline onto my HP Specter 2 in 1 using UKUU and it booted fine after I turned secure boot off in the BIOS.

    The problem I have is that the audio does not work. Using the 5.3 kernel had no issues with the audio.

    Any ideas?

  4. Artiya Thinkumpang February 13, 2020 at 7:39 am

    Can I use this kernel on Nvidia graphic driver? I try it but it got the error that cannot build the Nvidia kernel module.

  5. thank you! its help me to using amd driver on my Linux Mint