How to Install Latest Kernel 5.0 in Ubuntu

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Gabriel Cánepa

Gabriel Cánepa is a GNU/Linux sysadmin and web developer from Villa Mercedes, San Luis, Argentina. He works for a worldwide leading consumer product company and takes great pleasure in using FOSS tools to increase productivity in all areas of his daily work.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

21 Responses

  1. Vitalii says:

    To install the latest kernel in Ubuntu with Kernel Update Utility as shown.

    $ sudo add-apt-repository ppa:teejee2008/ppa
    $ sudo apt-get install ukuu

    Disable access control with the following command:

    $ sudo xhost +
    $ sudo ukuu
    $ sudo ukuu --install-latest
    $ sudo reboot
  2. Ben in Seattle says:

    “On Ubuntu or one of their derivatives such as Debian”

    I believe you meant “on Ubuntu or related systems such as Debian…”

    If you feel you must specify the exact relationship, Ubuntu is a derivative of Debian GNU/Linux, not the other way around.

  3. Ahmed says:

    Thanks for this amazing walking through article, Unfortunately it can’t be installed in my system due to the missing some dependencies.

    Whats my choices?

    I am using the terminal because I am running into graphics card’s driver issue which required me to install the latest kernel.

  4. Rahul says:

    After downloading, when installing getting this error…..

    linux-image-unsigned-4.19.0-041900-generic depends on linux-modules-4.19.0-041900-generic; however:
    Package linux-modules-4.19.0-041900-generic is not installed.

    dpkg: error processing package linux-image-unsigned-4.19.0-041900-generic (–install):
    dependency problems – leaving unconfigured
    Errors were encountered while processing:

    • james says:

      Same exact error here, using Linux Mint MATE v.19 which is up to date as of this morning, dec.02, 2018… so I’ll wget that module package if I find it. No idea….

    • james says:

      OK i tried posting a comment about this earlier, but anyway I have it working indeed, simply by adding a line for the modules package in just the same way the headers & image are printed above. At the moment, it seems that this line has been omitted upon some update to reflect the latest kernel.

      Anyway for some reason, the process failed when I downloaded the package with firefox, saying it wasn’t a deb-formatted package, or something. I had even tried changing the ownership to root:root. Anyway just copying the link address by visiting [] and using sudo for wget, which ought not to be necessary, worked just fine.

      For the record, the kernel upgrade on my mint-MATE 19 laptop was necessary because even the 4.15 or so kernel that came with the mint download left the track pad unrecognized, unusable, dead.

      Using an external mouse occasionally is OK, but making that *mandatory* seemed worth this absurd little effort. It’s a 200-dollar laptop Lenovo 330-15igm. I’ve put in an ssd, and it all works now thanks to some help from TecMint :) Thanks

      • Josh Hedden says:

        James, thanks for the post on this because I had to do the exact same thing to fix mine.

        I got the same error as yours when I tried installing. I would also like to add that this fixed my driver issues with Ryzen and I now have 1920 x1080 resolution. xandr kept failing when I was trying to manually add my resolution.

        Updating the kernel is actually what fixed all of my resolution issues. I am using the Ryzen 2200 GPU for anyone interested in fixing the same issue (I was getting the “failed to get size of gamma for output” when using –newmode for xrandr).

        Here is exactly what I ran to get this to work (I am pretty sure these links are only for AMD so if you have intel you have to go to the website and select the ones for your system

        It seems the article is missing the modules install (You need the Linux headers, Linux image unsigned, and the modules file). This article actually has you install the headers twice which isn’t right. I would still like to say thank you to the person who wrote this blog and many others, it has helped me out more than you could imagine.

        $ wget
        $ wget
        $ wget
        $ sudo dpkg -i *.deb
        $ reboot

        Hopefully this helps someone else out! Enjoy!!!

  5. abdou says:

    or you can use ukuu

  6. CHAD says:

    Might be a minor thing, but Ubuntu is a Debian derivative, not the other way around.

  7. Greg says:

    What is the linux-modules-*.deb file for?

  8. Yogesh says:

    Kernel version 4.12.x is released …




    sudo dpkg -i *.deb

  9. Muaad says:

    Thanks for this great tutorial.

    I updated the kernel easily, but Kubuntu 16.04 is telling me to download the 4.4.xx kernel, how to stop that?

    • Gabriel A. Cánepa says:

      Hi Muaad,
      I did not test this in Kubuntu, but in theory it should work. Can you post a screenshot of this message and indicate the step where it appears?

    • Muaad says:

      Thanks for coming back to me, as it turns out I had my packages mixed up, a bit of house keeping and everything went back to normal!

    • Tommy says:

      install UKUU it will install and version kernel from the list in the program, easy and simple, enjoy

Leave a Reply to james Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.