Table of Contents
This updated guide examines How to Update Ubuntu Kernel and organizes the essential facts, background, and practical takeaways in clear American English.
Method 1of 2:
Using Ukuu
Open Terminal. Click the black Terminal icon on the left side of the screen. This will open the Terminal window.
- You can also pressCtrl+Alt+Tto open Terminal.
Add the Ukuu repository. Type insudo add-apt-repository ppa:teejee2008/ppaand press?Enter.
- Ukuu is a free program that will find and install the correct kernel for you.
Enter your password when prompted. Type in the password you use to log into your computer, then press?Enter.
- You won't see any characters or stars appear while typing.
Press?Enterwhen prompted. Doing so adds the repository; this may take a few minutes, so don't type anything until the repository finishes adding.
Update the repository. Type insudo apt-get updateand press?Enter. The repository will briefly update, after which point you can continue.
Install Ukuu. Type insudo apt-get install ukuuand press?Enter, then type inywhen prompted and press?Enter.
Verify that Ukuu installed. Type inukuu, then press?Enter. If you see a list of commands appear in Terminal, Ukuu successfully installed.
Install the latest available kernel. Type insudo ukuu --install-latestand press?Enter, then allow Ukuu to run.
- Skip this step if you want to use Ukuu's interface to install a kernel.
Install a kernel from the Ukuu program. If you would rather browse the available kernels using the Ukuu program, do the following:
- Click the "Applications" ??? icon in the bottom-left corner of the screen.
- Scroll down and click Ukuu .
- Select the Kernel you want to install, then click Install .
- Enter your password when prompted, then click Authenticate .
Reboot your computer. Click the "Menu"
icon in the top-right corner of the screen, then click the "Power"
icon and click Restart in the resulting pop-up window.
Check your current kernel. You can double-check that Ubuntu's installation of your kernel was successful by opening Terminal and enteringuname -sr. You should see the version number of the most recent (or, if different, your selected) kernel.
Method 2of 2:
Using Kernel Files
Open the Ubuntu kernel list. Go to http://kernel.ubuntu.com/~kernel-ppa/mainline/ in your computer's web browser.
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.
- 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.
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.
- 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).
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:
- linux-headers-4.18.0-041800_4.18.0-041800.201808122131_all.deb
- linux-image-unsigned-4.18.0-041800-generic_4.18.0-041800.201808122131_amd64.deb
- linux-modules-4.18.0-041800-generic_4.18.0-041800.201808122131_amd64.deb
Open Terminal. Click the black Terminal icon on the left side of the screen. This will open the Terminal window.
- You can also pressCtrl+Alt+Tto open Terminal.
Switch to your default "Downloads" directory. Type incd Downloadsand 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.
- If you have any.deb files not related to the kernel installation in this directory, either move them or delete them before proceeding.
Prompt Ubuntu to open the.deb files. Type insudo dpkg -i *.deband press?Enter.
Enter your password when asked. Type in the password you use to log into your computer, then press?Enter.
- You won't see any characters or stars appear while typing.
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.
Reboot your computer. Click the "Menu"
icon in the top-right corner of the screen, then click the "Power"
icon and click Restart in the resulting pop-up window.
Check your current kernel. You can double-check that Ubuntu's installation of your kernel was successful by opening Terminal and enteringuname -sr. If this command shows you a number that matches the version number of the kernel you downloaded, your kernel has successfully updated.
- 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.
FAQ
What is How to Update Ubuntu Kernel about?
It provides a structured overview of kernel, explains the main context, and highlights practical takeaways for readers.
Why does this topic matter?
Understanding the main concepts helps readers evaluate the issue, avoid common mistakes, and make better-informed decisions.
How should readers use this information?
Use the guidance as a practical starting point, confirm details that may have changed, and follow current product, safety, or security recommendations.
Reader Comments 0
Sign in with email or Google to join the discussion.