• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
WebSetNet

WebSetNet

Technology News

  • Technology News
    • Mobile
    • Games
  • Internet Marketing
  • System Admin
    • Windows 11
    • Linux
    • Mac & Apple
    • Website Scripts
      • Wordpress
You are here: Home / System Admin / Linux / Update And Install Linux Kernel 5.4 On Ubuntu Linux

Update And Install Linux Kernel 5.4 On Ubuntu Linux

August 5, 2020 by Martin6

How to update and install Linux Kernel 5.4 on Ubuntu Linux Systems. Linux Kernel 5.4 is released with Kernel Lockdown, exFAT Support and file & networking improvements.

Announcing the release of Linux Kernel 5.4, Linus Torvalds writes:

“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. What little there is here is mostly some networking updates (mix of network drivers and core networking), and some minor GPU driver updates. Other than that it’s a small collection of random other things all over. The appended shortlog is small enough that you might as well just scroll through it.

Anyway, this obviously opens the merge window for 5.5. It’s not ideal timing with Thanksgiving week coming up, but it hopefully shouldn’t be too much of an issue. If I fall behind (not because I’m all that big of a fan of the indiscriminate and relentless turkey-killing holiday) it’s because we’ve got all three kids back for the holiday, and I might push some ot the merging to the second week as a result. We’ll see what happens.”

Upstream Kernel Files

By default, Ubuntu systems run with the Ubuntu kernels provided by the Ubuntu repositories. However it is handy to be able to test with unmodified upstream kernels to help locate problems in Ubuntu kernel patches, or to confirm that upstream has fixed a specific issue. To this end we now offer select upstream kernel builds. These kernels are made from unmodified kernel source but using the Ubuntu kernel configuration files. These are then packaged as Ubuntu .deb files for simple installation, saving you the time of compiling kernels, and debugging build issues.

Download Upstream Kernel Files From The Ubuntu Archive

The upstream kernels archive has a directory for each build. Note, if you are testing for a bug, please do not use the daily folder, but use the latest mainline kernel at the top from:

http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

It is best to verify the integrity of downloaded packages as explained below under “Verifying the mainline build binaries”.

Install All Upstream Kernel Files

Next, one will execute the following command against each of the downloaded files via a terminal:


sudo dpkg -i FILENAME.deb

If no errors show up, reboot while holding Shift then select “Advanced options for Ubuntu”, then select and boot into the new entry that looks something like: Ubuntu with linux 4.19.0-041900-generic [the Kernel version will differ as per the release].

Install Kernel 5.4 on 64 Bit Systems

Before you install Kernel, choose the proper upstream Kernel files. The build directories are nicely organized into per architecture groups. For example, if one is using a 64-bit/amd64 architecture and wants the generic kernel version you would want those files marked A, from the appropriate group.

If you want the low latency version, B. Build for amd64 succeeded (see BUILD.LOG.amd64):

AB – linux-headers-4.19.0-041900_4.19.0-041900.201810221809_all.deb
A – linux-headers-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb
B – linux-headers-4.19.0-041900-lowlatency_4.19.0-041900.201810221809_amd64.deb
A – linux-image-unsigned-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb
B – linux-image-unsigned-4.19.0-041900-lowlatency_4.19.0-041900.201810221809_amd64.deb
A – linux-modules-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb
B – linux-modules-4.19.0-041900-lowlatency_4.19.0-041900.201810221809_amd64.deb

Installing Kernel via Commandline

Run the following commands in terminal to install Kernel 5.4 on 64 Bit Systems – Build for amd64 Systems:


sudo apt-get update
sudo apt-get upgrade
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-headers-5.4.0-050400_5.4.0-050400.201911242031_all.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-headers-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-headers-5.4.0-050400-lowlatency_5.4.0-050400.201911242031_amd64.deb
wget 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 https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-image-unsigned-5.4.0-050400-lowlatency_5.4.0-050400.201911242031_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-modules-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb
wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-modules-5.4.0-050400-lowlatency_5.4.0-050400.201911242031_amd64.deb
sudo dpkg -i *.deb

Once installed, update the system:

sudo apt-get update
sudo apt-get upgrade

NOTE: Build for i386 failed (see BUILD.LOG.i386): linux-headers-5.4.0-050400_5.4.0-050400.201911242031_all.deb *_i386.deb

Uninstalling Upstream Kernels

Note that the upstream kernels have their own ABI namespace, so they install side by side with the stock Ubuntu kernels (each kernel has a separate directory under /lib/modules/VERSION for example). This means that you can keep several mainline and Ubuntu stock kernels installed at the same time and select the one you need from the GRUB boot menu.

If you would like to uninstall an upstream kernel anyway, execute the following to find the exact name of the kernel packages you want to uninstall:


dpkg -l | grep "linux-[a-z]*-"

and then execute the following to uninstall them:


sudo apt-get remove KERNEL_PACKAGES_TO_REMOVE

Remember that several packages can belong to one kernel version: common headers, architecture specific headers and the architecture specific image.

Also, once the mainline packages are removed, one may still see entries for these via the above dpkg command. To purge these entries execute at a terminal:


sudo dpkg --purge ENTRY

Update And Install Linux Kernel 5.4 On Ubuntu Linux originally posted on Source Digit – Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos.

Twitter Facebook Pinterest Linkedin WhatsApp

Related posts:

  1. Using PPA in Ubuntu Linux [Complete Guide]
  2. List of PPA Repositories for Ubuntu 17.04 Zesty Zapus
  3. Linux Kernel 5.2 RC7 Released – Update Kernel on Ubuntu
  4. Update Linux Kernel 5.0 RC4 on Ubuntu Linux
  5. Install or Update to Kernel 5 in Ubuntu Linux
  6. Kernel 4.13 Released – Update To Linux Kernel 4.13 On Ubuntu
  7. What is PPA Purge? How to Use it in Ubuntu and other Debian-based Distributions?
  8. Ubuntu 17.04 "Zesty Zapus" All Flavors Download Links
  9. How to Install Linux Kernel 4.14 in Ubuntu, Linux Mint
  10. Linux Kernel 4.9.10 Released – Update Linux Kernel On Ubuntu

Filed Under: Linux Tagged With: install, kernel, linux, Ubuntu, update

Primary Sidebar

Trending

  • FIX: Microsoft Store error code 0x80d02017
  • How To Extract & Install tar.gz Files In Ubuntu
  • 8 Best Sites to Read Manga Online for Free
  • Exclamation Mark on Network Signal, Mobile Data Not Working? 8 Ways to Fix
  • How to find a lost Apple Pencil using your iPad (1st and 2nd gen)
  • 3 Ways to Disable GetApps on Xiaomi, Redmi, and Poco Phones Running MIUI
  • How to Track a Stolen or Lost Nintendo Switch
  • 7 Ways to Save an Image From Google Docs
  • How To Calculate CAGR in Excel
  • How To Fix No Sound On YouTube
  • How to Add and Use Custom Dictionaries in Microsoft Word
  • How to lock Shape, Image or Objects in Microsoft PowerPoint
  • Microsoft Edge’s newest feature? Shopping in Microsoft Edge
  • How to Make Any Wired Printer Wireless in 6 Different Ways
  • NVSlimmer: remove unwanted components from Nvidia drivers
  • How Much Data is Consumed by Zoom, Google Meet, Skype, Microsoft Teams, Slack and Hangouts?
  • These are the best keyboards to use with Xbox Series X and S
  • Samsung TV model numbers explained 2022: What you need to know about Samsung’s OLED, Mini LED, QLED and LCD televisions

Footer

Tags

Amazon android Apple Asus available download: edge feature features first free from galaxy Game games gaming gets google install Intel iPhone launches linux Microsoft more OnePlus phone release released review: samsung series support this Ubuntu update using video watch what will windows with xbox your

Archives

  • December 2023
  • November 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org