How to Update Ubuntu Kernel

This wikiHow teaches you how to update your Ubuntu Linux kernel, which is the core software that runs the rest of your Linux distribution. The easiest way to do this is by installing and running a package manager called 'Ukuu', but you can...

Method 1 of 2:

Using Ukuu

  1. Picture 1 of How to Update Ubuntu Kernel
    Open Terminal. Click the black Terminal icon on the left side of the screen. This will open the Terminal window.
    1. You can also press Ctrl+Alt+T to open Terminal.
  2. Picture 2 of How to Update Ubuntu Kernel
    Add the Ukuu repository. Type in sudo add-apt-repository ppa:teejee2008/ppa and press Enter.
    1. Ukuu is a free program that will find and install the correct kernel for you.
  3. Picture 3 of How to Update Ubuntu Kernel
    Enter your password when prompted. Type in the password you use to log into your computer, then press Enter.
    1. You won't see any characters or stars appear while typing.
  4. Picture 4 of How to Update Ubuntu Kernel
    Press Enter when prompted. Doing so adds the repository; this may take a few minutes, so don't type anything until the repository finishes adding.
  5. Picture 5 of How to Update Ubuntu Kernel
    Update the repository. Type in sudo apt-get update and press Enter. The repository will briefly update, after which point you can continue.
  6. Picture 6 of How to Update Ubuntu Kernel
    Install Ukuu. Type in sudo apt-get install ukuu and press Enter, then type in y when prompted and press Enter.
  7. Picture 7 of How to Update Ubuntu Kernel
    Verify that Ukuu installed. Type in ukuu, then press Enter. If you see a list of commands appear in Terminal, Ukuu successfully installed.
  8. Picture 8 of How to Update Ubuntu Kernel
    Install the latest available kernel. Type in sudo ukuu --install-latest and press Enter, then allow Ukuu to run.
    1. Skip this step if you want to use Ukuu's interface to install a kernel.
  9. Picture 9 of How to Update Ubuntu Kernel
    Install a kernel from the Ukuu program. If you would rather browse the available kernels using the Ukuu program, do the following:
    1. Click the "Applications" ⋮⋮⋮ icon in the bottom-left corner of the screen.
    2. Scroll down and click Ukuu.
    3. Select the Kernel you want to install, then click Install.
    4. Enter your password when prompted, then click Authenticate.
  10. Picture 10 of How to Update Ubuntu Kernel
    Reboot your computer. Click the "Menu"
    Picture 11 of How to Update Ubuntu Kernel
    icon in the top-right corner of the screen, then click the "Power"
    Picture 12 of How to Update Ubuntu Kernel
    icon and click Restart in the resulting pop-up window.
  11. Picture 13 of How to Update Ubuntu Kernel
    Check your current kernel. You can double-check that Ubuntu's installation of your kernel was successful by opening Terminal and entering uname -sr. You should see the version number of the most recent (or, if different, your selected) kernel.
Method 2 of 2:

Using Kernel Files

  1. Picture 14 of How to Update Ubuntu Kernel
    Open the Ubuntu kernel list. Go to http://kernel.ubuntu.com/~kernel-ppa/mainline/ in your computer's web browser.
  2. Picture 15 of How to Update Ubuntu Kernel
    Select a kernel version. Scroll down until you find the link to the kernel version number you want to install, then click it to open its page.
    1. As of August 2018, the newest kernel is version 4.18. You can find it at the very bottom of the page under the v4.18 link.
  3. Picture 16 of How to Update Ubuntu Kernel
    Find the kernel for your computer. Usually the top list of kernel (.deb) files will work for your computer, but if you see a heading that contains files which seem better suited to your computer than the top heading, you may want to use its files instead.
    1. Each heading on the page should say "Build for [architecture] succeeded" where "architecture" refers to your computer's system architecture (32-bit or 64-bit).
  4. Picture 17 of How to Update Ubuntu Kernel
    Download the kernel files. Click each kernel file's link to do so . You'll need the "headers" file marked for all versions, the "image" file with "generic" in its name (avoid the "low latency" versions of these files), and the "modules" file with "generic" in its name. For example, to download the necessary files for kernel 4.18, you would click the following links:
    1. linux-headers-4.18.0-041800_4.18.0-041800.201808122131_all.deb
    2. linux-image-unsigned-4.18.0-041800-generic_4.18.0-041800.201808122131_amd64.deb
    3. linux-modules-4.18.0-041800-generic_4.18.0-041800.201808122131_amd64.deb
  5. Picture 18 of How to Update Ubuntu Kernel
    Open Terminal. Click the black Terminal icon on the left side of the screen. This will open the Terminal window.
    1. You can also press Ctrl+Alt+T to open Terminal.
  6. Picture 19 of How to Update Ubuntu Kernel
    Switch to your default "Downloads" directory. Type in cd Downloads and press Enter. If your default "Downloads" location for your web browser differs from the "Downloads" folder, replace "Downloads" with the path to the folder into which your kernel files downloaded.
    1. If you have any .deb files not related to the kernel installation in this directory, either move them or delete them before proceeding.
  7. Picture 20 of How to Update Ubuntu Kernel
    Prompt Ubuntu to open the .deb files. Type in sudo dpkg -i *.deb and press Enter.
  8. Picture 21 of How to Update Ubuntu Kernel
    Enter your password when asked. Type in the password you use to log into your computer, then press Enter.
    1. You won't see any characters or stars appear while typing.
  9. Picture 22 of How to Update Ubuntu Kernel
    Wait for Ubuntu to finish installing the kernel. This may take a few minutes. Once you see the "Downloads" directory tag reappear next to your name at the bottom of the window, you can proceed.
  10. Picture 23 of How to Update Ubuntu Kernel
    Reboot your computer. Click the "Menu"
    Picture 24 of How to Update Ubuntu Kernel
    icon in the top-right corner of the screen, then click the "Power"
    Picture 25 of How to Update Ubuntu Kernel
    icon and click Restart in the resulting pop-up window.
  11. Picture 26 of How to Update Ubuntu Kernel
    Check your current kernel. You can double-check that Ubuntu's installation of your kernel was successful by opening Terminal and entering uname -sr. If this command shows you a number that matches the version number of the kernel you downloaded, your kernel has successfully updated.
    1. If you don't see the correct kernel number here, you may have downloaded the wrong files for your computer. Delete the .deb files from your "Downloads" folder, then go back to the list of kernel files and try downloading them from under a different heading.
Update 04 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile