How to update kernel to the latest mainline version without any Distro-upgrade?How can I upgrade kernel to version 4.10 on Ubuntu 16.04?How to change kernel at bootHow do I update kernel to the latest mainline version?How to upgrade to the latest kernelHow to upgrade to the latest Kernel?How to upgrade latest linux kernel offline.How do I install the kernel 3-11.2 on Ubuntu 13.04?How to upgrade or downgrade the Kernel in Ubuntu (to any stable or testing release)Install 4.0 Linux Kernel od Ubuntu 14.04 i686Ubuntu 16.04 that supports a PERC H740P RAID controllerubuntu linux updates don't update to latest version, why?How to build the mainline kernel source package?How do I use apt-get to update to the latest kernel?practical to upgrade kernel but not version?I updated my kernel to the latest version but nothing happened. What's wrong?Latest kernel update (.43) crashes my pae systemUpdate of latest kernelHow do I update kernel to the latest mainline version?How to Upgrade Kernel After Permenant Downgrade?How can I find the latest stable kernel for Ubuntu?

Distinction between apt-cache and dpkg -l

Good for you! in Russian

Hotkey (or other quick way) to insert a keyframe for only one component of a vector-valued property?

How can I ensure my trip to the UK will not have to be cancelled because of Brexit?

How to draw cubes in a 3 dimensional plane

How to secure an aircraft at a transient parking space?

Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?

UART pins to unpowered MCU?

Examples of a statistic that is not independent of sample's distribution?

Conservation of Mass and Energy

Definition of Statistic

Vocabulary for giving just numbers, not a full answer

If I receive an SOS signal, what is the proper response?

An alternative proof of an application of Hahn-Banach

weren't playing vs didn't play

List elements digit difference sort

Should I take out a loan for a friend to invest on my behalf?

Is it possible to avoid unpacking when merging Association?

They call me Inspector Morse

How can The Temple of Elementary Evil reliably protect itself against kinetic bombardment?

In the quantum hamiltonian, why does kinetic energy turn into an operator while potential doesn't?

When traveling to Europe from North America, do I need to purchase a different power strip?

Latex does not go to next line

Should I tell my boss the work he did was worthless



How to update kernel to the latest mainline version without any Distro-upgrade?


How can I upgrade kernel to version 4.10 on Ubuntu 16.04?How to change kernel at bootHow do I update kernel to the latest mainline version?How to upgrade to the latest kernelHow to upgrade to the latest Kernel?How to upgrade latest linux kernel offline.How do I install the kernel 3-11.2 on Ubuntu 13.04?How to upgrade or downgrade the Kernel in Ubuntu (to any stable or testing release)Install 4.0 Linux Kernel od Ubuntu 14.04 i686Ubuntu 16.04 that supports a PERC H740P RAID controllerubuntu linux updates don't update to latest version, why?How to build the mainline kernel source package?How do I use apt-get to update to the latest kernel?practical to upgrade kernel but not version?I updated my kernel to the latest version but nothing happened. What's wrong?Latest kernel update (.43) crashes my pae systemUpdate of latest kernelHow do I update kernel to the latest mainline version?How to Upgrade Kernel After Permenant Downgrade?How can I find the latest stable kernel for Ubuntu?













141















Currently I'm running Linux-3.0 and I want to update it to Linux-3.3.1 the latest stable kernel release as mentioned at http://www.kernel.org. Can I update to 3.3.1 in Ubuntu without any risk of crashes? I'm updating my kernel regularly as provided by the Update Manager..Currently I have Linux-3.0.0.17..Can I update?



NOTE:



The latest kernel version any user is supposed to use in Ubuntu is updated automatically via the Update Manager, so no action is normally required by user regarding kernel upgrades. What the question author is referring to is mainline kernel, see: Should I upgrade to the "mainline" kernels?










share|improve this question



















  • 4





    Related: Should I upgrade to the “mainline” kernels?

    – Aditya
    Oct 4 '13 at 18:54















141















Currently I'm running Linux-3.0 and I want to update it to Linux-3.3.1 the latest stable kernel release as mentioned at http://www.kernel.org. Can I update to 3.3.1 in Ubuntu without any risk of crashes? I'm updating my kernel regularly as provided by the Update Manager..Currently I have Linux-3.0.0.17..Can I update?



NOTE:



The latest kernel version any user is supposed to use in Ubuntu is updated automatically via the Update Manager, so no action is normally required by user regarding kernel upgrades. What the question author is referring to is mainline kernel, see: Should I upgrade to the "mainline" kernels?










share|improve this question



















  • 4





    Related: Should I upgrade to the “mainline” kernels?

    – Aditya
    Oct 4 '13 at 18:54













141












141








141


70






Currently I'm running Linux-3.0 and I want to update it to Linux-3.3.1 the latest stable kernel release as mentioned at http://www.kernel.org. Can I update to 3.3.1 in Ubuntu without any risk of crashes? I'm updating my kernel regularly as provided by the Update Manager..Currently I have Linux-3.0.0.17..Can I update?



NOTE:



The latest kernel version any user is supposed to use in Ubuntu is updated automatically via the Update Manager, so no action is normally required by user regarding kernel upgrades. What the question author is referring to is mainline kernel, see: Should I upgrade to the "mainline" kernels?










share|improve this question
















Currently I'm running Linux-3.0 and I want to update it to Linux-3.3.1 the latest stable kernel release as mentioned at http://www.kernel.org. Can I update to 3.3.1 in Ubuntu without any risk of crashes? I'm updating my kernel regularly as provided by the Update Manager..Currently I have Linux-3.0.0.17..Can I update?



NOTE:



The latest kernel version any user is supposed to use in Ubuntu is updated automatically via the Update Manager, so no action is normally required by user regarding kernel upgrades. What the question author is referring to is mainline kernel, see: Should I upgrade to the "mainline" kernels?







upgrade kernel updates






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:23









Community

1




1










asked Apr 5 '12 at 5:30









Suchith JNSuchith JN

84141113




84141113







  • 4





    Related: Should I upgrade to the “mainline” kernels?

    – Aditya
    Oct 4 '13 at 18:54












  • 4





    Related: Should I upgrade to the “mainline” kernels?

    – Aditya
    Oct 4 '13 at 18:54







4




4





Related: Should I upgrade to the “mainline” kernels?

– Aditya
Oct 4 '13 at 18:54





Related: Should I upgrade to the “mainline” kernels?

– Aditya
Oct 4 '13 at 18:54










15 Answers
15






active

oldest

votes


















116














The simplest set of instructions I always used for kernel upgrade / downgrade are by ubuntuforums.org user by the name of lykwydchykyn (url modified by me for this post):



  1. Go here: http://kernel.ubuntu.com/~kernel-ppa/mainline/


  2. Download 3 (maybe 4) debs to a folder somewhere:



    linux-headers-VERSION-NUMBER_all.deb
    linux-headers-VERSION-NUMBER_amd64.deb
    linux-image-VERSION-NUMBER_amd64.deb
    linux-image-extra-VERSION-NUMBER_amd64.deb # if available



  3. Install the debs with whatever package manager front-end you use (is gdebi still around?), or use these commands:



    cd /path/to/folder/where/you/put/the/debs
    sudo dpkg -i *.deb


Sources:



  • https://wiki.ubuntu.com/Kernel/MainlineBuilds

  • http://ubuntuforums.org/showthread.php?p=11391743#post11391743





share|improve this answer




















  • 2





    for example here you find two versions for each architecture: lowlatency and generic, which to take? kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.1-trusty

    – rubo77
    Aug 7 '14 at 2:42











  • No luck. I was coming from the 64-bit Utopic lowlatency kernel (3.16.0-31) in the standard repo. I upgraded to v3.16.7-ckt8 ( linux-image-3.16.7-031607-lowlatency_3.16.7-031607.201503111033_amd64.deb) which is running but still no trackpad. This is for an Acer C710.

    – Ubuntourist
    Mar 22 '15 at 23:58











  • I had touch pad problems. My default bios was set to advanced mode. It says in the bios there may be problems using advanced mode without a driver. However basic mode works well in ubuntu. Unfortunately, basic mode works terrible in windows! I hope this helps in the easy way.

    – Bhikkhu Subhuti
    Mar 4 '16 at 1:11






  • 1





    For completeness, in addition to @Bucic's steps -- (4) accept the new grub boot loader (1st option). This is probably what most people need. In case you would like to see exactly what changes, do a comparison to check, but it'll probably just rewrite your Grub conf file with the new kernel info you want. (5) reboot. Additionally, this is the much safer route, which will also upgrade your Linux version: sudo apt-get update && sudo apt-get dist-upgrade && sudo reboot. In either scenario, after rebooting, run echo $(uname -r) to confirm that you successfully booted into your new kernel.

    – Manuel J. Diaz
    Jun 1 '16 at 4:18






  • 1





    @rubo77 on lowlatency vs generic: askubuntu.com/questions/126664/…

    – Noremac
    Dec 12 '16 at 17:10



















69














You could always do the following:



apt-cache search linux-image


Pick the one you want and then do:



sudo apt-get install linux-image-your_version_choice linux-headers-your_version_choice linux-image-extra-your_version_choice





share|improve this answer




















  • 2





    That would not give a mainline kernel; rather, it would give an Ubuntu build (of the specified version number).

    – Eliah Kagan
    Jan 5 '13 at 9:17






  • 13





    Probably better than going with a mainline one though, since it's been massaged for the target OS.

    – quickshiftin
    Oct 2 '13 at 3:43











  • Worked like a charm in Debian 8. Thank you!

    – GTodorov
    Feb 2 '15 at 18:54






  • 9





    don't forget to install kernel headers too: sudo apt-get install linux-headers-[version]-generic. [version] should be the same as kernel version

    – mauek unak
    Feb 23 '16 at 20:49







  • 1





    This entry should be changed so it also instructs the user to install the linux-image-extra package because without it some things might not work - like an USB keyboard you use for entering the password to decrypt your disk.

    – wojci
    Jan 1 '17 at 15:01



















23














My answer is, YES you can. The stable release was 3.4, but in this tutorial i use 3.3.1.



Ubuntu (32-bit) Generic PAE:



Run the following commands:



mkdir kernel v3.3.1-precise && cd kernel v3.3.1-precise
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301-generic-pae_3.3.1-030301.201204021435_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301_3.3.1-030301.201204021435_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-image-3.3.1-030301-generic-pae_3.3.1-030301.201204021435_i386.deb
sudo dpkg -i linux-*.deb
sudo update-grub
sudo reboot now


Ubuntu (64-bit):



Run the following commands:



mkdir kernel v3.3.1-precise && cd kernel v3.3.1-precise
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301-generic_3.3.1-030301.201204021435_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301_3.3.1-030301.201204021435_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-image-3.3.1-030301-generic_3.3.1-030301.201204021435_amd64.deb
sudo dpkg -i linux-*.deb
sudo update-grub
sudo reboot now


Enjoy!






share|improve this answer

























  • i install the kernel 3.8.5-raring as you said on my Ubuntu 12.04. but now my OS is down and there is no cli or any grub menu. just thinking.

    – shgnInc
    Apr 2 '13 at 16:05











  • Good but needs to be updated. I recommend finding the version and then google how to install it. Click the pages until you find something like this. For rc6 I found this yourownlinux.com/2016/03/…

    – Bhikkhu Subhuti
    Mar 4 '16 at 15:17



















11














Contrary to some answers here Ubuntu releases the new kernel within a day or two of the main kernel team. I used to upgrade the hard way like some of the answers here suggest but I found this is an easier way.



Implications of manually installing Kernels



Manually installing kernels requires extra work.



There are reasons why you want to install the latest mainline kernel:



  • A bug in the last Ubuntu LTS kernel update and you can't downgrade

  • You have new hardware not supported in the current Ubuntu LTS kernel update stream or HWE updates

  • You want a security upgrade or new feature only available in the latest mainline kernel version.

As of January 15, 2018 the latest stable mainline kernel is 4.14.13. At the time of writing many are interested to install it for protection against Meltdown security hole. If you choose to manually install it you should know:



  • Older LTS kernels will not get updated until they are greater than the main menu first option titled Ubuntu.

  • Manually installed kernels are not removed with the usual sudo apt auto-remove command. You need to follow this: How do I remove old kernel versions to clean up the boot menu?

  • Monitor developments in the older kernels for when you want to get back on the regular LTS kernel update method. Then delete the manually installed mainline kernel as described in the previous bullet point link.

  • After manually removing the newest mainline kernel run sudo update-grub and then Ubuntu's latest LTS kernel will be the first option called Ubuntu on Grub's main menu.

Finding the latest kernel



Go to (kernel.ubuntu.com - Kernel PPA Mainline) and press the End key:



Mainline kernel 1



Now click on the link 4.9.8 (or a newer one if available when you read this) and the following appears:



mainline kernel 2



Note the links with the black airbrush marks. These are the three we will download for Ubuntu 16.04 64-Bit using Intel or AMD processors.



Installing using Terminal



Open a terminal session with Ctrl+Alt+T and use:



cd ~/Downloads # Change to your downloads directory
ll linux*.deb # Check if any previous downloads still exist
rm linux*.deb # Use this command if any previous downloads found


Now switch back to the download screen above and single-click on all three of the .deb kernel downloads. After downloads complete (you'll see status in your browser) switch back to terminal session and use:



sudo dpkg -i linux*.deb
rm linux*.deb
sudo reboot


Voila! - you are running the latest kernel when the first option in grub boot menu is selected. Your older kernel versions are still available under grub's Advanced Options menu.



After installing the newest kernel a dozen times you will ask the question "How do I remove older kernel versions?" and you will find those answers here in Ask Ubuntu.






share|improve this answer
































    7














    There is a much simpler way of doing this, and it's the way I use. Simply download the Ubuntu Mainline Kernel Updater script and run it from a terminal. It will download the .deb's for you, install the new kernel, and optionally remove the old one (not recommended) then optionally reboot.



    Example output (copied from my terminal):



    evilsupahfly@the-black-beast:~$ sudo KernelUpdateChecker -no-rc -r utopic
    Run this command to install the new kernel
    /tmp/kernel-update
    root@the-black-beast:~# /tmp/kernel-update
    Config Notes:
    Rejecting Release Candidates
    Accepting Latest Kernel
    Accepting kernels compiled for utopic
    Accepting kernels with a version higher than 3.15.0-031500-lowlatency

    Information:
    Origin:
    http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15.1-utopic
    Kernel Version:
    3.15.1-031501
    Release Date:
    2014/06/16 @ 18:41 (YYYY/MM/DD @ HH:MM)

    Care to look at the change log? (y=Yes, n=No) (n)

    (download output skipped)

    Greetings root
    I (the-black-beast) am now self aware and a sentient being, have a nice day.
    Oh and by the way SKYNET is now active.

    Installing Linux 3.15.1-031501:

    (installer output skipped)

    The New Kernel looks to have been installed

    WARNING: If the new kernel does not boot you may regret saying yes here.
    Would you like to remove the current one? (y=Yes, n=No) (n): n

    Are you ready to Reboot? (y=Yes, n=No) (n): n


    Almost entirely automated, and completely problem free.






    share|improve this answer






























      7





      +50









      late but new answer.



      I will add some more information in my answer.Now my old kernel was linux-headers-4.8.0-53.To find out which kernel you have type uname -rin terminal.Now type this command to get list of available kernels.



      apt-cache search linux-image


      this will give you a very big output.Now chose one of them that you want to install and install it by following commands(Don't type these commands like this,replace the word kernal_version with the kernel version which you wish to install)



      sudo apt-get install linux-image-kernal_version
      sudo apt-get install linux-image-extra-kernal_version
      sudo apt-get install linux-headers-kernal_version


      Now in my case i choose linux-image-4.10.0-22-generic so my command will look like this



      sudo apt-get install linux-image-4.10.0-22-generic 
      sudo apt-get install linux-image-extra-4.10.0-22-generic
      sudo apt-get install linux-headers-4.10.0-22-generic


      now in the end remove old kernel by command



      sudo apt-get autoremove


      Now when I first did it, I Don't know is it my hardware problem or because of removing the old kernel,but my laptop shows me black screen which happens to my laptop sometimes.Thus I remove it's battery and rebooted and typed the command.Also i don't suffer from my black screen issue any more.



      uname -r


      and it gives me



      linux-image-4.10.0-22-generic


      which means kernel is updated.






      share|improve this answer


















      • 3





        Yoour black screen issue may be because you removed the kernel in use. After you install the new kernel, you have to reboot. Then remove old kernel.

        – ravery
        Oct 2 '17 at 3:05


















      6














      I wrote a script and always will be up to date.



      ukupgrade: Ubuntu Kernel Upgrade



      • Open your favorite terminal and run the follwing commands


      • Give executable permission to file



        chmod +x ./ukupgrade




      • Call the script



        ./ukupgrade







      share|improve this answer




















      • 1





        this was the best.

        – Ali
        Nov 3 '16 at 12:02











      • keeps installing the low latency version when asking for generic~

        – user2413
        Mar 3 '17 at 18:54











      • I didn't know about this tool so I also wrote a similar tool, which also supports selecting the generic/low latency flavor. You can find it here: github.com/cristim/kernel-update

        – Cristian Măgherușan-Stanciu
        Jul 10 '17 at 7:54



















      6














      Run the following Terminal commands to install a new Ubuntu mainline kernel.



      sudo apt-get update
      sudo apt-get install python-bs4
      cd /tmp
      rm -rf medigeek-kmp*
      wget https://github.com/medigeek/kmp-downloader/tarball/master -O kmpd.tar.gz
      tar xzf kmpd.tar.gz
      cd medigeek-*
      python kmpd.py -d


      The script is hosted at Github. Just press Enter instead of a number if you get stuck on a certain question in the Python script.






      share|improve this answer




















      • 3





        I'm the author of that script. I've just fixed it. Please file bug reports, most of the time programmers don't know bugs exist until someone files a report. :)

        – Savvas Radevic
        Jul 19 '13 at 19:29











      • What is the advantage of your script from just doing the install of the deb package like described by the best answer here?

        – rubo77
        Aug 7 '14 at 2:27











      • I was just thinking of this type of tool since I crashed because apt did not install dependencies for me. You would think that apt was all about dependencies. Wrong. A script can be updated for the latest release or search for one and let the user choose. All that said, if I get my system up again, I will go direct since I found the terminal commands for rc6

        – Bhikkhu Subhuti
        Mar 4 '16 at 15:21











      • @SavvasRadevic ImportError: No module named apt_pkg

        – Yahya
        17 hours ago


















      5














      If you don't want to go through the hassle to manually upgrade the kernel you can try UUKU. Works fine even on Ubuntu derivatives like elementory, mint.



      I used it to fix my WiFi issue as sometimes some new hardware won't be detected by old kernel.
      Other than hardware driver update I don't find the need to upgrade kernel.
      New kernels do have security and slight performance upgrade but also have tendency to break things like your VM.



      sudo apt-add-repository -y ppa:teejee2008/ppa
      sudo apt-get update
      sudo apt-get install ukuu
      ukuu-gtk


      SOURCE:



      http://www.makeuseof.com/tag/upgrade-kernel-ukuu-ubuntu/



      http://www.teejeetech.in/2016/07/ukuu-v167.html?m=1






      share|improve this answer
































        3














        Another option is to try customized and optimized builds, such as this i3/i5/i7 optimized 3.2.1 kernel for Ubuntu:



        DuoPetalFlower, My Experiments with Linux - 3.2.1 kernel



        He also has Intel atom optimized builds which can work quite well if you're trying to squeeze every last ounce of performance out of a netbook.



        There are other kernels like Liquorix that claim to be better optimized for desktop performance.



        Though not recommended by some, you can often run official kernels from later versions of Ubuntu without issues. I'm currently running the 3.3.3 precise kernel on oneiric and my machine works better than ever. Performance & battery life increased, while temperatures dropped a few degrees. My issue of a black screen when resuming from standby has also disappeared. Though I personally haven't had issues from using newer kernels, you will find some people who are strongly opposed to doing this.






        share|improve this answer






























          2














          As you've seen, Ubuntu does provide versions of the Linux kernel, but not always as fast as they are released upstream, you can always compile the 3.3.1 kernel yourself, but that may be more effort than you were looking for. If not, search around and I'm sure you'll find a tutorial you can follow such as this one. (note that I haven't checked that one thoroughly so be wary as kernels are dangerous beasts)






          share|improve this answer






























            2














            None of the above answers satisfied my problem of manually update the kernel to the latest stable version. (My current laptop is very sensitive to RCs, Dell XPS 9365).



            I created a shell script that searches for more recent kernel versions and shows them as options to be installed. You can give it a try, it's on github, please be sure to read the README.






            share|improve this answer






























              2














              I created this script kernel-upgrade.sh that downloads and installs a selected kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline:



              TMP=/var/tmp/kernel
              mkdir -p "$TMP" && cd "$TMP"
              rm -f "$TMP"/*
              F=v4.16-rc6
              V=4.16.0-041600rc6
              R=$(wget -qO - "http://kernel.ubuntu.com/~kernel-ppa/mainline/$F/0005-debian-changelog.patch" | sed -ne '/^+linux/s/.*.([0-9]+)).*/1/p;q')
              B="$V.$R"
              URL=http://kernel.ubuntu.com/~kernel-ppa/mainline
              set -x
              wget "$URL/$F/linux-headers-$V-generic_$B_amd64.deb"
              "$URL/$F/linux-headers-$V_$B_all.deb"
              "$URL/$F/linux-image-$V-generic_$B_amd64.deb"
              sudo dpkg -i "linux-headers-$V-generic_$B_amd64.deb"
              "linux-headers-$V_$B_all.deb linux-image-$V-generic_$B_amd64.deb"
              # now enter: sudo reboot now


              In case Ubuntu doesn't start with the new kernel, you can select "advanced settings" in your grub menu and select to start the last running kernel there.




              Note: since 4.15-rc7 the kernel has the KPTI fix against meltdown attacks and since 4.15.1 for "Spectre Variant 2, Mitigation 2"
              (check with http://github.com/speed47/spectre-meltdown-checker/)






              share|improve this answer

























              • I'm having some difficulty running this script. I may be doing something wrong, so here are my steps: 1. Disabled secure boot in BIOS, 2. saved the script to kernel-upgrade.sh, and chmod 777 kernel-upgrade.sh. I then ran it as sudo ./kernel-upgrade.sh. I then get the errors: rm: cannot remove '/var/tmp/kernel/*': No such file or directory; then ++ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16...<truncating url>` Connecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:80... connected. HTTP request sent, awaiting response... 404 Not Found` The 404 happens 3x

                – Leftover Salad
                Apr 14 '18 at 2:19











              • the first warning by rm could be ignored (I added rm -f now). the rest is not clear, what is the problem. truncating url here is not helping, solving the problem. can you post the output in pastebin.com, so we can see what the resulting url would be?

                – rubo77
                Apr 14 '18 at 16:41












              • sure, pasted over here pastebin.com/KcdVdKQr

                – Leftover Salad
                Apr 14 '18 at 20:36











              • also if it matters, I am running ubuntu 17.10

                – Leftover Salad
                Apr 14 '18 at 21:04











              • It said this is the wrong path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6/… check this for the right path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6

                – rubo77
                Apr 17 '18 at 21:28


















              0














              to install the latest kernel
              install Ubuntu Kernel Update Utility



              $ sudo add-apt-repository ppa:teejee2008/ppa

              $ sudo apt-get install ukuu


              disable access control with the following command:



              $ sudo xhost +


              then install with ukuu



              $ sudo ukuu

              $ sudo ukuu --install-latest


              and reboot



              $ sudo reboot





              share|improve this answer

























              • if you want to see a list of all kernel versions use 'sudo ukuu --list'.

                – Vitaliy LiBrus
                Jan 16 at 9:04











              • if you want to see other options of ukuu type 'ukuu --help'

                – Vitaliy LiBrus
                Jan 16 at 9:05


















              0














              Check Your Kernel Version
              $ uname -sr



              Download Kernel v5 for 32 bit



              $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
              $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
              $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
              $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb



              Download Kernel v5 for 64 bit



              $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
              $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
              $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
              $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb



              Install it



              $ sudo dpkg -i *.deb



              Then Reboot



              sudo reboot






              share|improve this answer










              New contributor




              pranz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.



















                Your Answer








                StackExchange.ready(function()
                var channelOptions =
                tags: "".split(" "),
                id: "89"
                ;
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function()
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled)
                StackExchange.using("snippets", function()
                createEditor();
                );

                else
                createEditor();

                );

                function createEditor()
                StackExchange.prepareEditor(
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: true,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                imageUploader:
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                ,
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                );



                );













                draft saved

                draft discarded


















                StackExchange.ready(
                function ()
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f119080%2fhow-to-update-kernel-to-the-latest-mainline-version-without-any-distro-upgrade%23new-answer', 'question_page');

                );

                Post as a guest















                Required, but never shown

























                15 Answers
                15






                active

                oldest

                votes








                15 Answers
                15






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                116














                The simplest set of instructions I always used for kernel upgrade / downgrade are by ubuntuforums.org user by the name of lykwydchykyn (url modified by me for this post):



                1. Go here: http://kernel.ubuntu.com/~kernel-ppa/mainline/


                2. Download 3 (maybe 4) debs to a folder somewhere:



                  linux-headers-VERSION-NUMBER_all.deb
                  linux-headers-VERSION-NUMBER_amd64.deb
                  linux-image-VERSION-NUMBER_amd64.deb
                  linux-image-extra-VERSION-NUMBER_amd64.deb # if available



                3. Install the debs with whatever package manager front-end you use (is gdebi still around?), or use these commands:



                  cd /path/to/folder/where/you/put/the/debs
                  sudo dpkg -i *.deb


                Sources:



                • https://wiki.ubuntu.com/Kernel/MainlineBuilds

                • http://ubuntuforums.org/showthread.php?p=11391743#post11391743





                share|improve this answer




















                • 2





                  for example here you find two versions for each architecture: lowlatency and generic, which to take? kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.1-trusty

                  – rubo77
                  Aug 7 '14 at 2:42











                • No luck. I was coming from the 64-bit Utopic lowlatency kernel (3.16.0-31) in the standard repo. I upgraded to v3.16.7-ckt8 ( linux-image-3.16.7-031607-lowlatency_3.16.7-031607.201503111033_amd64.deb) which is running but still no trackpad. This is for an Acer C710.

                  – Ubuntourist
                  Mar 22 '15 at 23:58











                • I had touch pad problems. My default bios was set to advanced mode. It says in the bios there may be problems using advanced mode without a driver. However basic mode works well in ubuntu. Unfortunately, basic mode works terrible in windows! I hope this helps in the easy way.

                  – Bhikkhu Subhuti
                  Mar 4 '16 at 1:11






                • 1





                  For completeness, in addition to @Bucic's steps -- (4) accept the new grub boot loader (1st option). This is probably what most people need. In case you would like to see exactly what changes, do a comparison to check, but it'll probably just rewrite your Grub conf file with the new kernel info you want. (5) reboot. Additionally, this is the much safer route, which will also upgrade your Linux version: sudo apt-get update && sudo apt-get dist-upgrade && sudo reboot. In either scenario, after rebooting, run echo $(uname -r) to confirm that you successfully booted into your new kernel.

                  – Manuel J. Diaz
                  Jun 1 '16 at 4:18






                • 1





                  @rubo77 on lowlatency vs generic: askubuntu.com/questions/126664/…

                  – Noremac
                  Dec 12 '16 at 17:10
















                116














                The simplest set of instructions I always used for kernel upgrade / downgrade are by ubuntuforums.org user by the name of lykwydchykyn (url modified by me for this post):



                1. Go here: http://kernel.ubuntu.com/~kernel-ppa/mainline/


                2. Download 3 (maybe 4) debs to a folder somewhere:



                  linux-headers-VERSION-NUMBER_all.deb
                  linux-headers-VERSION-NUMBER_amd64.deb
                  linux-image-VERSION-NUMBER_amd64.deb
                  linux-image-extra-VERSION-NUMBER_amd64.deb # if available



                3. Install the debs with whatever package manager front-end you use (is gdebi still around?), or use these commands:



                  cd /path/to/folder/where/you/put/the/debs
                  sudo dpkg -i *.deb


                Sources:



                • https://wiki.ubuntu.com/Kernel/MainlineBuilds

                • http://ubuntuforums.org/showthread.php?p=11391743#post11391743





                share|improve this answer




















                • 2





                  for example here you find two versions for each architecture: lowlatency and generic, which to take? kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.1-trusty

                  – rubo77
                  Aug 7 '14 at 2:42











                • No luck. I was coming from the 64-bit Utopic lowlatency kernel (3.16.0-31) in the standard repo. I upgraded to v3.16.7-ckt8 ( linux-image-3.16.7-031607-lowlatency_3.16.7-031607.201503111033_amd64.deb) which is running but still no trackpad. This is for an Acer C710.

                  – Ubuntourist
                  Mar 22 '15 at 23:58











                • I had touch pad problems. My default bios was set to advanced mode. It says in the bios there may be problems using advanced mode without a driver. However basic mode works well in ubuntu. Unfortunately, basic mode works terrible in windows! I hope this helps in the easy way.

                  – Bhikkhu Subhuti
                  Mar 4 '16 at 1:11






                • 1





                  For completeness, in addition to @Bucic's steps -- (4) accept the new grub boot loader (1st option). This is probably what most people need. In case you would like to see exactly what changes, do a comparison to check, but it'll probably just rewrite your Grub conf file with the new kernel info you want. (5) reboot. Additionally, this is the much safer route, which will also upgrade your Linux version: sudo apt-get update && sudo apt-get dist-upgrade && sudo reboot. In either scenario, after rebooting, run echo $(uname -r) to confirm that you successfully booted into your new kernel.

                  – Manuel J. Diaz
                  Jun 1 '16 at 4:18






                • 1





                  @rubo77 on lowlatency vs generic: askubuntu.com/questions/126664/…

                  – Noremac
                  Dec 12 '16 at 17:10














                116












                116








                116







                The simplest set of instructions I always used for kernel upgrade / downgrade are by ubuntuforums.org user by the name of lykwydchykyn (url modified by me for this post):



                1. Go here: http://kernel.ubuntu.com/~kernel-ppa/mainline/


                2. Download 3 (maybe 4) debs to a folder somewhere:



                  linux-headers-VERSION-NUMBER_all.deb
                  linux-headers-VERSION-NUMBER_amd64.deb
                  linux-image-VERSION-NUMBER_amd64.deb
                  linux-image-extra-VERSION-NUMBER_amd64.deb # if available



                3. Install the debs with whatever package manager front-end you use (is gdebi still around?), or use these commands:



                  cd /path/to/folder/where/you/put/the/debs
                  sudo dpkg -i *.deb


                Sources:



                • https://wiki.ubuntu.com/Kernel/MainlineBuilds

                • http://ubuntuforums.org/showthread.php?p=11391743#post11391743





                share|improve this answer















                The simplest set of instructions I always used for kernel upgrade / downgrade are by ubuntuforums.org user by the name of lykwydchykyn (url modified by me for this post):



                1. Go here: http://kernel.ubuntu.com/~kernel-ppa/mainline/


                2. Download 3 (maybe 4) debs to a folder somewhere:



                  linux-headers-VERSION-NUMBER_all.deb
                  linux-headers-VERSION-NUMBER_amd64.deb
                  linux-image-VERSION-NUMBER_amd64.deb
                  linux-image-extra-VERSION-NUMBER_amd64.deb # if available



                3. Install the debs with whatever package manager front-end you use (is gdebi still around?), or use these commands:



                  cd /path/to/folder/where/you/put/the/debs
                  sudo dpkg -i *.deb


                Sources:



                • https://wiki.ubuntu.com/Kernel/MainlineBuilds

                • http://ubuntuforums.org/showthread.php?p=11391743#post11391743






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jun 30 '14 at 14:41









                Jorge Castro

                36.9k106422617




                36.9k106422617










                answered May 25 '12 at 8:47









                BucicBucic

                2,68952439




                2,68952439







                • 2





                  for example here you find two versions for each architecture: lowlatency and generic, which to take? kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.1-trusty

                  – rubo77
                  Aug 7 '14 at 2:42











                • No luck. I was coming from the 64-bit Utopic lowlatency kernel (3.16.0-31) in the standard repo. I upgraded to v3.16.7-ckt8 ( linux-image-3.16.7-031607-lowlatency_3.16.7-031607.201503111033_amd64.deb) which is running but still no trackpad. This is for an Acer C710.

                  – Ubuntourist
                  Mar 22 '15 at 23:58











                • I had touch pad problems. My default bios was set to advanced mode. It says in the bios there may be problems using advanced mode without a driver. However basic mode works well in ubuntu. Unfortunately, basic mode works terrible in windows! I hope this helps in the easy way.

                  – Bhikkhu Subhuti
                  Mar 4 '16 at 1:11






                • 1





                  For completeness, in addition to @Bucic's steps -- (4) accept the new grub boot loader (1st option). This is probably what most people need. In case you would like to see exactly what changes, do a comparison to check, but it'll probably just rewrite your Grub conf file with the new kernel info you want. (5) reboot. Additionally, this is the much safer route, which will also upgrade your Linux version: sudo apt-get update && sudo apt-get dist-upgrade && sudo reboot. In either scenario, after rebooting, run echo $(uname -r) to confirm that you successfully booted into your new kernel.

                  – Manuel J. Diaz
                  Jun 1 '16 at 4:18






                • 1





                  @rubo77 on lowlatency vs generic: askubuntu.com/questions/126664/…

                  – Noremac
                  Dec 12 '16 at 17:10













                • 2





                  for example here you find two versions for each architecture: lowlatency and generic, which to take? kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.1-trusty

                  – rubo77
                  Aug 7 '14 at 2:42











                • No luck. I was coming from the 64-bit Utopic lowlatency kernel (3.16.0-31) in the standard repo. I upgraded to v3.16.7-ckt8 ( linux-image-3.16.7-031607-lowlatency_3.16.7-031607.201503111033_amd64.deb) which is running but still no trackpad. This is for an Acer C710.

                  – Ubuntourist
                  Mar 22 '15 at 23:58











                • I had touch pad problems. My default bios was set to advanced mode. It says in the bios there may be problems using advanced mode without a driver. However basic mode works well in ubuntu. Unfortunately, basic mode works terrible in windows! I hope this helps in the easy way.

                  – Bhikkhu Subhuti
                  Mar 4 '16 at 1:11






                • 1





                  For completeness, in addition to @Bucic's steps -- (4) accept the new grub boot loader (1st option). This is probably what most people need. In case you would like to see exactly what changes, do a comparison to check, but it'll probably just rewrite your Grub conf file with the new kernel info you want. (5) reboot. Additionally, this is the much safer route, which will also upgrade your Linux version: sudo apt-get update && sudo apt-get dist-upgrade && sudo reboot. In either scenario, after rebooting, run echo $(uname -r) to confirm that you successfully booted into your new kernel.

                  – Manuel J. Diaz
                  Jun 1 '16 at 4:18






                • 1





                  @rubo77 on lowlatency vs generic: askubuntu.com/questions/126664/…

                  – Noremac
                  Dec 12 '16 at 17:10








                2




                2





                for example here you find two versions for each architecture: lowlatency and generic, which to take? kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.1-trusty

                – rubo77
                Aug 7 '14 at 2:42





                for example here you find two versions for each architecture: lowlatency and generic, which to take? kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.1-trusty

                – rubo77
                Aug 7 '14 at 2:42













                No luck. I was coming from the 64-bit Utopic lowlatency kernel (3.16.0-31) in the standard repo. I upgraded to v3.16.7-ckt8 ( linux-image-3.16.7-031607-lowlatency_3.16.7-031607.201503111033_amd64.deb) which is running but still no trackpad. This is for an Acer C710.

                – Ubuntourist
                Mar 22 '15 at 23:58





                No luck. I was coming from the 64-bit Utopic lowlatency kernel (3.16.0-31) in the standard repo. I upgraded to v3.16.7-ckt8 ( linux-image-3.16.7-031607-lowlatency_3.16.7-031607.201503111033_amd64.deb) which is running but still no trackpad. This is for an Acer C710.

                – Ubuntourist
                Mar 22 '15 at 23:58













                I had touch pad problems. My default bios was set to advanced mode. It says in the bios there may be problems using advanced mode without a driver. However basic mode works well in ubuntu. Unfortunately, basic mode works terrible in windows! I hope this helps in the easy way.

                – Bhikkhu Subhuti
                Mar 4 '16 at 1:11





                I had touch pad problems. My default bios was set to advanced mode. It says in the bios there may be problems using advanced mode without a driver. However basic mode works well in ubuntu. Unfortunately, basic mode works terrible in windows! I hope this helps in the easy way.

                – Bhikkhu Subhuti
                Mar 4 '16 at 1:11




                1




                1





                For completeness, in addition to @Bucic's steps -- (4) accept the new grub boot loader (1st option). This is probably what most people need. In case you would like to see exactly what changes, do a comparison to check, but it'll probably just rewrite your Grub conf file with the new kernel info you want. (5) reboot. Additionally, this is the much safer route, which will also upgrade your Linux version: sudo apt-get update && sudo apt-get dist-upgrade && sudo reboot. In either scenario, after rebooting, run echo $(uname -r) to confirm that you successfully booted into your new kernel.

                – Manuel J. Diaz
                Jun 1 '16 at 4:18





                For completeness, in addition to @Bucic's steps -- (4) accept the new grub boot loader (1st option). This is probably what most people need. In case you would like to see exactly what changes, do a comparison to check, but it'll probably just rewrite your Grub conf file with the new kernel info you want. (5) reboot. Additionally, this is the much safer route, which will also upgrade your Linux version: sudo apt-get update && sudo apt-get dist-upgrade && sudo reboot. In either scenario, after rebooting, run echo $(uname -r) to confirm that you successfully booted into your new kernel.

                – Manuel J. Diaz
                Jun 1 '16 at 4:18




                1




                1





                @rubo77 on lowlatency vs generic: askubuntu.com/questions/126664/…

                – Noremac
                Dec 12 '16 at 17:10






                @rubo77 on lowlatency vs generic: askubuntu.com/questions/126664/…

                – Noremac
                Dec 12 '16 at 17:10














                69














                You could always do the following:



                apt-cache search linux-image


                Pick the one you want and then do:



                sudo apt-get install linux-image-your_version_choice linux-headers-your_version_choice linux-image-extra-your_version_choice





                share|improve this answer




















                • 2





                  That would not give a mainline kernel; rather, it would give an Ubuntu build (of the specified version number).

                  – Eliah Kagan
                  Jan 5 '13 at 9:17






                • 13





                  Probably better than going with a mainline one though, since it's been massaged for the target OS.

                  – quickshiftin
                  Oct 2 '13 at 3:43











                • Worked like a charm in Debian 8. Thank you!

                  – GTodorov
                  Feb 2 '15 at 18:54






                • 9





                  don't forget to install kernel headers too: sudo apt-get install linux-headers-[version]-generic. [version] should be the same as kernel version

                  – mauek unak
                  Feb 23 '16 at 20:49







                • 1





                  This entry should be changed so it also instructs the user to install the linux-image-extra package because without it some things might not work - like an USB keyboard you use for entering the password to decrypt your disk.

                  – wojci
                  Jan 1 '17 at 15:01
















                69














                You could always do the following:



                apt-cache search linux-image


                Pick the one you want and then do:



                sudo apt-get install linux-image-your_version_choice linux-headers-your_version_choice linux-image-extra-your_version_choice





                share|improve this answer




















                • 2





                  That would not give a mainline kernel; rather, it would give an Ubuntu build (of the specified version number).

                  – Eliah Kagan
                  Jan 5 '13 at 9:17






                • 13





                  Probably better than going with a mainline one though, since it's been massaged for the target OS.

                  – quickshiftin
                  Oct 2 '13 at 3:43











                • Worked like a charm in Debian 8. Thank you!

                  – GTodorov
                  Feb 2 '15 at 18:54






                • 9





                  don't forget to install kernel headers too: sudo apt-get install linux-headers-[version]-generic. [version] should be the same as kernel version

                  – mauek unak
                  Feb 23 '16 at 20:49







                • 1





                  This entry should be changed so it also instructs the user to install the linux-image-extra package because without it some things might not work - like an USB keyboard you use for entering the password to decrypt your disk.

                  – wojci
                  Jan 1 '17 at 15:01














                69












                69








                69







                You could always do the following:



                apt-cache search linux-image


                Pick the one you want and then do:



                sudo apt-get install linux-image-your_version_choice linux-headers-your_version_choice linux-image-extra-your_version_choice





                share|improve this answer















                You could always do the following:



                apt-cache search linux-image


                Pick the one you want and then do:



                sudo apt-get install linux-image-your_version_choice linux-headers-your_version_choice linux-image-extra-your_version_choice






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Sep 26 '17 at 1:34









                Lucas

                503514




                503514










                answered Jan 5 '13 at 8:55









                user118932user118932

                70152




                70152







                • 2





                  That would not give a mainline kernel; rather, it would give an Ubuntu build (of the specified version number).

                  – Eliah Kagan
                  Jan 5 '13 at 9:17






                • 13





                  Probably better than going with a mainline one though, since it's been massaged for the target OS.

                  – quickshiftin
                  Oct 2 '13 at 3:43











                • Worked like a charm in Debian 8. Thank you!

                  – GTodorov
                  Feb 2 '15 at 18:54






                • 9





                  don't forget to install kernel headers too: sudo apt-get install linux-headers-[version]-generic. [version] should be the same as kernel version

                  – mauek unak
                  Feb 23 '16 at 20:49







                • 1





                  This entry should be changed so it also instructs the user to install the linux-image-extra package because without it some things might not work - like an USB keyboard you use for entering the password to decrypt your disk.

                  – wojci
                  Jan 1 '17 at 15:01













                • 2





                  That would not give a mainline kernel; rather, it would give an Ubuntu build (of the specified version number).

                  – Eliah Kagan
                  Jan 5 '13 at 9:17






                • 13





                  Probably better than going with a mainline one though, since it's been massaged for the target OS.

                  – quickshiftin
                  Oct 2 '13 at 3:43











                • Worked like a charm in Debian 8. Thank you!

                  – GTodorov
                  Feb 2 '15 at 18:54






                • 9





                  don't forget to install kernel headers too: sudo apt-get install linux-headers-[version]-generic. [version] should be the same as kernel version

                  – mauek unak
                  Feb 23 '16 at 20:49







                • 1





                  This entry should be changed so it also instructs the user to install the linux-image-extra package because without it some things might not work - like an USB keyboard you use for entering the password to decrypt your disk.

                  – wojci
                  Jan 1 '17 at 15:01








                2




                2





                That would not give a mainline kernel; rather, it would give an Ubuntu build (of the specified version number).

                – Eliah Kagan
                Jan 5 '13 at 9:17





                That would not give a mainline kernel; rather, it would give an Ubuntu build (of the specified version number).

                – Eliah Kagan
                Jan 5 '13 at 9:17




                13




                13





                Probably better than going with a mainline one though, since it's been massaged for the target OS.

                – quickshiftin
                Oct 2 '13 at 3:43





                Probably better than going with a mainline one though, since it's been massaged for the target OS.

                – quickshiftin
                Oct 2 '13 at 3:43













                Worked like a charm in Debian 8. Thank you!

                – GTodorov
                Feb 2 '15 at 18:54





                Worked like a charm in Debian 8. Thank you!

                – GTodorov
                Feb 2 '15 at 18:54




                9




                9





                don't forget to install kernel headers too: sudo apt-get install linux-headers-[version]-generic. [version] should be the same as kernel version

                – mauek unak
                Feb 23 '16 at 20:49






                don't forget to install kernel headers too: sudo apt-get install linux-headers-[version]-generic. [version] should be the same as kernel version

                – mauek unak
                Feb 23 '16 at 20:49





                1




                1





                This entry should be changed so it also instructs the user to install the linux-image-extra package because without it some things might not work - like an USB keyboard you use for entering the password to decrypt your disk.

                – wojci
                Jan 1 '17 at 15:01






                This entry should be changed so it also instructs the user to install the linux-image-extra package because without it some things might not work - like an USB keyboard you use for entering the password to decrypt your disk.

                – wojci
                Jan 1 '17 at 15:01












                23














                My answer is, YES you can. The stable release was 3.4, but in this tutorial i use 3.3.1.



                Ubuntu (32-bit) Generic PAE:



                Run the following commands:



                mkdir kernel v3.3.1-precise && cd kernel v3.3.1-precise
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301-generic-pae_3.3.1-030301.201204021435_i386.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301_3.3.1-030301.201204021435_all.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-image-3.3.1-030301-generic-pae_3.3.1-030301.201204021435_i386.deb
                sudo dpkg -i linux-*.deb
                sudo update-grub
                sudo reboot now


                Ubuntu (64-bit):



                Run the following commands:



                mkdir kernel v3.3.1-precise && cd kernel v3.3.1-precise
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301-generic_3.3.1-030301.201204021435_amd64.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301_3.3.1-030301.201204021435_all.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-image-3.3.1-030301-generic_3.3.1-030301.201204021435_amd64.deb
                sudo dpkg -i linux-*.deb
                sudo update-grub
                sudo reboot now


                Enjoy!






                share|improve this answer

























                • i install the kernel 3.8.5-raring as you said on my Ubuntu 12.04. but now my OS is down and there is no cli or any grub menu. just thinking.

                  – shgnInc
                  Apr 2 '13 at 16:05











                • Good but needs to be updated. I recommend finding the version and then google how to install it. Click the pages until you find something like this. For rc6 I found this yourownlinux.com/2016/03/…

                  – Bhikkhu Subhuti
                  Mar 4 '16 at 15:17
















                23














                My answer is, YES you can. The stable release was 3.4, but in this tutorial i use 3.3.1.



                Ubuntu (32-bit) Generic PAE:



                Run the following commands:



                mkdir kernel v3.3.1-precise && cd kernel v3.3.1-precise
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301-generic-pae_3.3.1-030301.201204021435_i386.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301_3.3.1-030301.201204021435_all.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-image-3.3.1-030301-generic-pae_3.3.1-030301.201204021435_i386.deb
                sudo dpkg -i linux-*.deb
                sudo update-grub
                sudo reboot now


                Ubuntu (64-bit):



                Run the following commands:



                mkdir kernel v3.3.1-precise && cd kernel v3.3.1-precise
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301-generic_3.3.1-030301.201204021435_amd64.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301_3.3.1-030301.201204021435_all.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-image-3.3.1-030301-generic_3.3.1-030301.201204021435_amd64.deb
                sudo dpkg -i linux-*.deb
                sudo update-grub
                sudo reboot now


                Enjoy!






                share|improve this answer

























                • i install the kernel 3.8.5-raring as you said on my Ubuntu 12.04. but now my OS is down and there is no cli or any grub menu. just thinking.

                  – shgnInc
                  Apr 2 '13 at 16:05











                • Good but needs to be updated. I recommend finding the version and then google how to install it. Click the pages until you find something like this. For rc6 I found this yourownlinux.com/2016/03/…

                  – Bhikkhu Subhuti
                  Mar 4 '16 at 15:17














                23












                23








                23







                My answer is, YES you can. The stable release was 3.4, but in this tutorial i use 3.3.1.



                Ubuntu (32-bit) Generic PAE:



                Run the following commands:



                mkdir kernel v3.3.1-precise && cd kernel v3.3.1-precise
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301-generic-pae_3.3.1-030301.201204021435_i386.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301_3.3.1-030301.201204021435_all.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-image-3.3.1-030301-generic-pae_3.3.1-030301.201204021435_i386.deb
                sudo dpkg -i linux-*.deb
                sudo update-grub
                sudo reboot now


                Ubuntu (64-bit):



                Run the following commands:



                mkdir kernel v3.3.1-precise && cd kernel v3.3.1-precise
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301-generic_3.3.1-030301.201204021435_amd64.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301_3.3.1-030301.201204021435_all.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-image-3.3.1-030301-generic_3.3.1-030301.201204021435_amd64.deb
                sudo dpkg -i linux-*.deb
                sudo update-grub
                sudo reboot now


                Enjoy!






                share|improve this answer















                My answer is, YES you can. The stable release was 3.4, but in this tutorial i use 3.3.1.



                Ubuntu (32-bit) Generic PAE:



                Run the following commands:



                mkdir kernel v3.3.1-precise && cd kernel v3.3.1-precise
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301-generic-pae_3.3.1-030301.201204021435_i386.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301_3.3.1-030301.201204021435_all.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-image-3.3.1-030301-generic-pae_3.3.1-030301.201204021435_i386.deb
                sudo dpkg -i linux-*.deb
                sudo update-grub
                sudo reboot now


                Ubuntu (64-bit):



                Run the following commands:



                mkdir kernel v3.3.1-precise && cd kernel v3.3.1-precise
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301-generic_3.3.1-030301.201204021435_amd64.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-headers-3.3.1-030301_3.3.1-030301.201204021435_all.deb
                wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.1-precise/linux-image-3.3.1-030301-generic_3.3.1-030301.201204021435_amd64.deb
                sudo dpkg -i linux-*.deb
                sudo update-grub
                sudo reboot now


                Enjoy!







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jul 2 '13 at 6:06







                user73964

















                answered Sep 23 '12 at 20:10









                penreturnspenreturns

                5,24542542




                5,24542542












                • i install the kernel 3.8.5-raring as you said on my Ubuntu 12.04. but now my OS is down and there is no cli or any grub menu. just thinking.

                  – shgnInc
                  Apr 2 '13 at 16:05











                • Good but needs to be updated. I recommend finding the version and then google how to install it. Click the pages until you find something like this. For rc6 I found this yourownlinux.com/2016/03/…

                  – Bhikkhu Subhuti
                  Mar 4 '16 at 15:17


















                • i install the kernel 3.8.5-raring as you said on my Ubuntu 12.04. but now my OS is down and there is no cli or any grub menu. just thinking.

                  – shgnInc
                  Apr 2 '13 at 16:05











                • Good but needs to be updated. I recommend finding the version and then google how to install it. Click the pages until you find something like this. For rc6 I found this yourownlinux.com/2016/03/…

                  – Bhikkhu Subhuti
                  Mar 4 '16 at 15:17

















                i install the kernel 3.8.5-raring as you said on my Ubuntu 12.04. but now my OS is down and there is no cli or any grub menu. just thinking.

                – shgnInc
                Apr 2 '13 at 16:05





                i install the kernel 3.8.5-raring as you said on my Ubuntu 12.04. but now my OS is down and there is no cli or any grub menu. just thinking.

                – shgnInc
                Apr 2 '13 at 16:05













                Good but needs to be updated. I recommend finding the version and then google how to install it. Click the pages until you find something like this. For rc6 I found this yourownlinux.com/2016/03/…

                – Bhikkhu Subhuti
                Mar 4 '16 at 15:17






                Good but needs to be updated. I recommend finding the version and then google how to install it. Click the pages until you find something like this. For rc6 I found this yourownlinux.com/2016/03/…

                – Bhikkhu Subhuti
                Mar 4 '16 at 15:17












                11














                Contrary to some answers here Ubuntu releases the new kernel within a day or two of the main kernel team. I used to upgrade the hard way like some of the answers here suggest but I found this is an easier way.



                Implications of manually installing Kernels



                Manually installing kernels requires extra work.



                There are reasons why you want to install the latest mainline kernel:



                • A bug in the last Ubuntu LTS kernel update and you can't downgrade

                • You have new hardware not supported in the current Ubuntu LTS kernel update stream or HWE updates

                • You want a security upgrade or new feature only available in the latest mainline kernel version.

                As of January 15, 2018 the latest stable mainline kernel is 4.14.13. At the time of writing many are interested to install it for protection against Meltdown security hole. If you choose to manually install it you should know:



                • Older LTS kernels will not get updated until they are greater than the main menu first option titled Ubuntu.

                • Manually installed kernels are not removed with the usual sudo apt auto-remove command. You need to follow this: How do I remove old kernel versions to clean up the boot menu?

                • Monitor developments in the older kernels for when you want to get back on the regular LTS kernel update method. Then delete the manually installed mainline kernel as described in the previous bullet point link.

                • After manually removing the newest mainline kernel run sudo update-grub and then Ubuntu's latest LTS kernel will be the first option called Ubuntu on Grub's main menu.

                Finding the latest kernel



                Go to (kernel.ubuntu.com - Kernel PPA Mainline) and press the End key:



                Mainline kernel 1



                Now click on the link 4.9.8 (or a newer one if available when you read this) and the following appears:



                mainline kernel 2



                Note the links with the black airbrush marks. These are the three we will download for Ubuntu 16.04 64-Bit using Intel or AMD processors.



                Installing using Terminal



                Open a terminal session with Ctrl+Alt+T and use:



                cd ~/Downloads # Change to your downloads directory
                ll linux*.deb # Check if any previous downloads still exist
                rm linux*.deb # Use this command if any previous downloads found


                Now switch back to the download screen above and single-click on all three of the .deb kernel downloads. After downloads complete (you'll see status in your browser) switch back to terminal session and use:



                sudo dpkg -i linux*.deb
                rm linux*.deb
                sudo reboot


                Voila! - you are running the latest kernel when the first option in grub boot menu is selected. Your older kernel versions are still available under grub's Advanced Options menu.



                After installing the newest kernel a dozen times you will ask the question "How do I remove older kernel versions?" and you will find those answers here in Ask Ubuntu.






                share|improve this answer





























                  11














                  Contrary to some answers here Ubuntu releases the new kernel within a day or two of the main kernel team. I used to upgrade the hard way like some of the answers here suggest but I found this is an easier way.



                  Implications of manually installing Kernels



                  Manually installing kernels requires extra work.



                  There are reasons why you want to install the latest mainline kernel:



                  • A bug in the last Ubuntu LTS kernel update and you can't downgrade

                  • You have new hardware not supported in the current Ubuntu LTS kernel update stream or HWE updates

                  • You want a security upgrade or new feature only available in the latest mainline kernel version.

                  As of January 15, 2018 the latest stable mainline kernel is 4.14.13. At the time of writing many are interested to install it for protection against Meltdown security hole. If you choose to manually install it you should know:



                  • Older LTS kernels will not get updated until they are greater than the main menu first option titled Ubuntu.

                  • Manually installed kernels are not removed with the usual sudo apt auto-remove command. You need to follow this: How do I remove old kernel versions to clean up the boot menu?

                  • Monitor developments in the older kernels for when you want to get back on the regular LTS kernel update method. Then delete the manually installed mainline kernel as described in the previous bullet point link.

                  • After manually removing the newest mainline kernel run sudo update-grub and then Ubuntu's latest LTS kernel will be the first option called Ubuntu on Grub's main menu.

                  Finding the latest kernel



                  Go to (kernel.ubuntu.com - Kernel PPA Mainline) and press the End key:



                  Mainline kernel 1



                  Now click on the link 4.9.8 (or a newer one if available when you read this) and the following appears:



                  mainline kernel 2



                  Note the links with the black airbrush marks. These are the three we will download for Ubuntu 16.04 64-Bit using Intel or AMD processors.



                  Installing using Terminal



                  Open a terminal session with Ctrl+Alt+T and use:



                  cd ~/Downloads # Change to your downloads directory
                  ll linux*.deb # Check if any previous downloads still exist
                  rm linux*.deb # Use this command if any previous downloads found


                  Now switch back to the download screen above and single-click on all three of the .deb kernel downloads. After downloads complete (you'll see status in your browser) switch back to terminal session and use:



                  sudo dpkg -i linux*.deb
                  rm linux*.deb
                  sudo reboot


                  Voila! - you are running the latest kernel when the first option in grub boot menu is selected. Your older kernel versions are still available under grub's Advanced Options menu.



                  After installing the newest kernel a dozen times you will ask the question "How do I remove older kernel versions?" and you will find those answers here in Ask Ubuntu.






                  share|improve this answer



























                    11












                    11








                    11







                    Contrary to some answers here Ubuntu releases the new kernel within a day or two of the main kernel team. I used to upgrade the hard way like some of the answers here suggest but I found this is an easier way.



                    Implications of manually installing Kernels



                    Manually installing kernels requires extra work.



                    There are reasons why you want to install the latest mainline kernel:



                    • A bug in the last Ubuntu LTS kernel update and you can't downgrade

                    • You have new hardware not supported in the current Ubuntu LTS kernel update stream or HWE updates

                    • You want a security upgrade or new feature only available in the latest mainline kernel version.

                    As of January 15, 2018 the latest stable mainline kernel is 4.14.13. At the time of writing many are interested to install it for protection against Meltdown security hole. If you choose to manually install it you should know:



                    • Older LTS kernels will not get updated until they are greater than the main menu first option titled Ubuntu.

                    • Manually installed kernels are not removed with the usual sudo apt auto-remove command. You need to follow this: How do I remove old kernel versions to clean up the boot menu?

                    • Monitor developments in the older kernels for when you want to get back on the regular LTS kernel update method. Then delete the manually installed mainline kernel as described in the previous bullet point link.

                    • After manually removing the newest mainline kernel run sudo update-grub and then Ubuntu's latest LTS kernel will be the first option called Ubuntu on Grub's main menu.

                    Finding the latest kernel



                    Go to (kernel.ubuntu.com - Kernel PPA Mainline) and press the End key:



                    Mainline kernel 1



                    Now click on the link 4.9.8 (or a newer one if available when you read this) and the following appears:



                    mainline kernel 2



                    Note the links with the black airbrush marks. These are the three we will download for Ubuntu 16.04 64-Bit using Intel or AMD processors.



                    Installing using Terminal



                    Open a terminal session with Ctrl+Alt+T and use:



                    cd ~/Downloads # Change to your downloads directory
                    ll linux*.deb # Check if any previous downloads still exist
                    rm linux*.deb # Use this command if any previous downloads found


                    Now switch back to the download screen above and single-click on all three of the .deb kernel downloads. After downloads complete (you'll see status in your browser) switch back to terminal session and use:



                    sudo dpkg -i linux*.deb
                    rm linux*.deb
                    sudo reboot


                    Voila! - you are running the latest kernel when the first option in grub boot menu is selected. Your older kernel versions are still available under grub's Advanced Options menu.



                    After installing the newest kernel a dozen times you will ask the question "How do I remove older kernel versions?" and you will find those answers here in Ask Ubuntu.






                    share|improve this answer















                    Contrary to some answers here Ubuntu releases the new kernel within a day or two of the main kernel team. I used to upgrade the hard way like some of the answers here suggest but I found this is an easier way.



                    Implications of manually installing Kernels



                    Manually installing kernels requires extra work.



                    There are reasons why you want to install the latest mainline kernel:



                    • A bug in the last Ubuntu LTS kernel update and you can't downgrade

                    • You have new hardware not supported in the current Ubuntu LTS kernel update stream or HWE updates

                    • You want a security upgrade or new feature only available in the latest mainline kernel version.

                    As of January 15, 2018 the latest stable mainline kernel is 4.14.13. At the time of writing many are interested to install it for protection against Meltdown security hole. If you choose to manually install it you should know:



                    • Older LTS kernels will not get updated until they are greater than the main menu first option titled Ubuntu.

                    • Manually installed kernels are not removed with the usual sudo apt auto-remove command. You need to follow this: How do I remove old kernel versions to clean up the boot menu?

                    • Monitor developments in the older kernels for when you want to get back on the regular LTS kernel update method. Then delete the manually installed mainline kernel as described in the previous bullet point link.

                    • After manually removing the newest mainline kernel run sudo update-grub and then Ubuntu's latest LTS kernel will be the first option called Ubuntu on Grub's main menu.

                    Finding the latest kernel



                    Go to (kernel.ubuntu.com - Kernel PPA Mainline) and press the End key:



                    Mainline kernel 1



                    Now click on the link 4.9.8 (or a newer one if available when you read this) and the following appears:



                    mainline kernel 2



                    Note the links with the black airbrush marks. These are the three we will download for Ubuntu 16.04 64-Bit using Intel or AMD processors.



                    Installing using Terminal



                    Open a terminal session with Ctrl+Alt+T and use:



                    cd ~/Downloads # Change to your downloads directory
                    ll linux*.deb # Check if any previous downloads still exist
                    rm linux*.deb # Use this command if any previous downloads found


                    Now switch back to the download screen above and single-click on all three of the .deb kernel downloads. After downloads complete (you'll see status in your browser) switch back to terminal session and use:



                    sudo dpkg -i linux*.deb
                    rm linux*.deb
                    sudo reboot


                    Voila! - you are running the latest kernel when the first option in grub boot menu is selected. Your older kernel versions are still available under grub's Advanced Options menu.



                    After installing the newest kernel a dozen times you will ask the question "How do I remove older kernel versions?" and you will find those answers here in Ask Ubuntu.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Feb 25 '18 at 15:14

























                    answered Feb 20 '17 at 0:23









                    WinEunuuchs2UnixWinEunuuchs2Unix

                    46.5k1190180




                    46.5k1190180





















                        7














                        There is a much simpler way of doing this, and it's the way I use. Simply download the Ubuntu Mainline Kernel Updater script and run it from a terminal. It will download the .deb's for you, install the new kernel, and optionally remove the old one (not recommended) then optionally reboot.



                        Example output (copied from my terminal):



                        evilsupahfly@the-black-beast:~$ sudo KernelUpdateChecker -no-rc -r utopic
                        Run this command to install the new kernel
                        /tmp/kernel-update
                        root@the-black-beast:~# /tmp/kernel-update
                        Config Notes:
                        Rejecting Release Candidates
                        Accepting Latest Kernel
                        Accepting kernels compiled for utopic
                        Accepting kernels with a version higher than 3.15.0-031500-lowlatency

                        Information:
                        Origin:
                        http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15.1-utopic
                        Kernel Version:
                        3.15.1-031501
                        Release Date:
                        2014/06/16 @ 18:41 (YYYY/MM/DD @ HH:MM)

                        Care to look at the change log? (y=Yes, n=No) (n)

                        (download output skipped)

                        Greetings root
                        I (the-black-beast) am now self aware and a sentient being, have a nice day.
                        Oh and by the way SKYNET is now active.

                        Installing Linux 3.15.1-031501:

                        (installer output skipped)

                        The New Kernel looks to have been installed

                        WARNING: If the new kernel does not boot you may regret saying yes here.
                        Would you like to remove the current one? (y=Yes, n=No) (n): n

                        Are you ready to Reboot? (y=Yes, n=No) (n): n


                        Almost entirely automated, and completely problem free.






                        share|improve this answer



























                          7














                          There is a much simpler way of doing this, and it's the way I use. Simply download the Ubuntu Mainline Kernel Updater script and run it from a terminal. It will download the .deb's for you, install the new kernel, and optionally remove the old one (not recommended) then optionally reboot.



                          Example output (copied from my terminal):



                          evilsupahfly@the-black-beast:~$ sudo KernelUpdateChecker -no-rc -r utopic
                          Run this command to install the new kernel
                          /tmp/kernel-update
                          root@the-black-beast:~# /tmp/kernel-update
                          Config Notes:
                          Rejecting Release Candidates
                          Accepting Latest Kernel
                          Accepting kernels compiled for utopic
                          Accepting kernels with a version higher than 3.15.0-031500-lowlatency

                          Information:
                          Origin:
                          http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15.1-utopic
                          Kernel Version:
                          3.15.1-031501
                          Release Date:
                          2014/06/16 @ 18:41 (YYYY/MM/DD @ HH:MM)

                          Care to look at the change log? (y=Yes, n=No) (n)

                          (download output skipped)

                          Greetings root
                          I (the-black-beast) am now self aware and a sentient being, have a nice day.
                          Oh and by the way SKYNET is now active.

                          Installing Linux 3.15.1-031501:

                          (installer output skipped)

                          The New Kernel looks to have been installed

                          WARNING: If the new kernel does not boot you may regret saying yes here.
                          Would you like to remove the current one? (y=Yes, n=No) (n): n

                          Are you ready to Reboot? (y=Yes, n=No) (n): n


                          Almost entirely automated, and completely problem free.






                          share|improve this answer

























                            7












                            7








                            7







                            There is a much simpler way of doing this, and it's the way I use. Simply download the Ubuntu Mainline Kernel Updater script and run it from a terminal. It will download the .deb's for you, install the new kernel, and optionally remove the old one (not recommended) then optionally reboot.



                            Example output (copied from my terminal):



                            evilsupahfly@the-black-beast:~$ sudo KernelUpdateChecker -no-rc -r utopic
                            Run this command to install the new kernel
                            /tmp/kernel-update
                            root@the-black-beast:~# /tmp/kernel-update
                            Config Notes:
                            Rejecting Release Candidates
                            Accepting Latest Kernel
                            Accepting kernels compiled for utopic
                            Accepting kernels with a version higher than 3.15.0-031500-lowlatency

                            Information:
                            Origin:
                            http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15.1-utopic
                            Kernel Version:
                            3.15.1-031501
                            Release Date:
                            2014/06/16 @ 18:41 (YYYY/MM/DD @ HH:MM)

                            Care to look at the change log? (y=Yes, n=No) (n)

                            (download output skipped)

                            Greetings root
                            I (the-black-beast) am now self aware and a sentient being, have a nice day.
                            Oh and by the way SKYNET is now active.

                            Installing Linux 3.15.1-031501:

                            (installer output skipped)

                            The New Kernel looks to have been installed

                            WARNING: If the new kernel does not boot you may regret saying yes here.
                            Would you like to remove the current one? (y=Yes, n=No) (n): n

                            Are you ready to Reboot? (y=Yes, n=No) (n): n


                            Almost entirely automated, and completely problem free.






                            share|improve this answer













                            There is a much simpler way of doing this, and it's the way I use. Simply download the Ubuntu Mainline Kernel Updater script and run it from a terminal. It will download the .deb's for you, install the new kernel, and optionally remove the old one (not recommended) then optionally reboot.



                            Example output (copied from my terminal):



                            evilsupahfly@the-black-beast:~$ sudo KernelUpdateChecker -no-rc -r utopic
                            Run this command to install the new kernel
                            /tmp/kernel-update
                            root@the-black-beast:~# /tmp/kernel-update
                            Config Notes:
                            Rejecting Release Candidates
                            Accepting Latest Kernel
                            Accepting kernels compiled for utopic
                            Accepting kernels with a version higher than 3.15.0-031500-lowlatency

                            Information:
                            Origin:
                            http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15.1-utopic
                            Kernel Version:
                            3.15.1-031501
                            Release Date:
                            2014/06/16 @ 18:41 (YYYY/MM/DD @ HH:MM)

                            Care to look at the change log? (y=Yes, n=No) (n)

                            (download output skipped)

                            Greetings root
                            I (the-black-beast) am now self aware and a sentient being, have a nice day.
                            Oh and by the way SKYNET is now active.

                            Installing Linux 3.15.1-031501:

                            (installer output skipped)

                            The New Kernel looks to have been installed

                            WARNING: If the new kernel does not boot you may regret saying yes here.
                            Would you like to remove the current one? (y=Yes, n=No) (n): n

                            Are you ready to Reboot? (y=Yes, n=No) (n): n


                            Almost entirely automated, and completely problem free.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Jun 20 '14 at 14:06









                            SeannSeann

                            187416




                            187416





















                                7





                                +50









                                late but new answer.



                                I will add some more information in my answer.Now my old kernel was linux-headers-4.8.0-53.To find out which kernel you have type uname -rin terminal.Now type this command to get list of available kernels.



                                apt-cache search linux-image


                                this will give you a very big output.Now chose one of them that you want to install and install it by following commands(Don't type these commands like this,replace the word kernal_version with the kernel version which you wish to install)



                                sudo apt-get install linux-image-kernal_version
                                sudo apt-get install linux-image-extra-kernal_version
                                sudo apt-get install linux-headers-kernal_version


                                Now in my case i choose linux-image-4.10.0-22-generic so my command will look like this



                                sudo apt-get install linux-image-4.10.0-22-generic 
                                sudo apt-get install linux-image-extra-4.10.0-22-generic
                                sudo apt-get install linux-headers-4.10.0-22-generic


                                now in the end remove old kernel by command



                                sudo apt-get autoremove


                                Now when I first did it, I Don't know is it my hardware problem or because of removing the old kernel,but my laptop shows me black screen which happens to my laptop sometimes.Thus I remove it's battery and rebooted and typed the command.Also i don't suffer from my black screen issue any more.



                                uname -r


                                and it gives me



                                linux-image-4.10.0-22-generic


                                which means kernel is updated.






                                share|improve this answer


















                                • 3





                                  Yoour black screen issue may be because you removed the kernel in use. After you install the new kernel, you have to reboot. Then remove old kernel.

                                  – ravery
                                  Oct 2 '17 at 3:05















                                7





                                +50









                                late but new answer.



                                I will add some more information in my answer.Now my old kernel was linux-headers-4.8.0-53.To find out which kernel you have type uname -rin terminal.Now type this command to get list of available kernels.



                                apt-cache search linux-image


                                this will give you a very big output.Now chose one of them that you want to install and install it by following commands(Don't type these commands like this,replace the word kernal_version with the kernel version which you wish to install)



                                sudo apt-get install linux-image-kernal_version
                                sudo apt-get install linux-image-extra-kernal_version
                                sudo apt-get install linux-headers-kernal_version


                                Now in my case i choose linux-image-4.10.0-22-generic so my command will look like this



                                sudo apt-get install linux-image-4.10.0-22-generic 
                                sudo apt-get install linux-image-extra-4.10.0-22-generic
                                sudo apt-get install linux-headers-4.10.0-22-generic


                                now in the end remove old kernel by command



                                sudo apt-get autoremove


                                Now when I first did it, I Don't know is it my hardware problem or because of removing the old kernel,but my laptop shows me black screen which happens to my laptop sometimes.Thus I remove it's battery and rebooted and typed the command.Also i don't suffer from my black screen issue any more.



                                uname -r


                                and it gives me



                                linux-image-4.10.0-22-generic


                                which means kernel is updated.






                                share|improve this answer


















                                • 3





                                  Yoour black screen issue may be because you removed the kernel in use. After you install the new kernel, you have to reboot. Then remove old kernel.

                                  – ravery
                                  Oct 2 '17 at 3:05













                                7





                                +50







                                7





                                +50



                                7




                                +50





                                late but new answer.



                                I will add some more information in my answer.Now my old kernel was linux-headers-4.8.0-53.To find out which kernel you have type uname -rin terminal.Now type this command to get list of available kernels.



                                apt-cache search linux-image


                                this will give you a very big output.Now chose one of them that you want to install and install it by following commands(Don't type these commands like this,replace the word kernal_version with the kernel version which you wish to install)



                                sudo apt-get install linux-image-kernal_version
                                sudo apt-get install linux-image-extra-kernal_version
                                sudo apt-get install linux-headers-kernal_version


                                Now in my case i choose linux-image-4.10.0-22-generic so my command will look like this



                                sudo apt-get install linux-image-4.10.0-22-generic 
                                sudo apt-get install linux-image-extra-4.10.0-22-generic
                                sudo apt-get install linux-headers-4.10.0-22-generic


                                now in the end remove old kernel by command



                                sudo apt-get autoremove


                                Now when I first did it, I Don't know is it my hardware problem or because of removing the old kernel,but my laptop shows me black screen which happens to my laptop sometimes.Thus I remove it's battery and rebooted and typed the command.Also i don't suffer from my black screen issue any more.



                                uname -r


                                and it gives me



                                linux-image-4.10.0-22-generic


                                which means kernel is updated.






                                share|improve this answer













                                late but new answer.



                                I will add some more information in my answer.Now my old kernel was linux-headers-4.8.0-53.To find out which kernel you have type uname -rin terminal.Now type this command to get list of available kernels.



                                apt-cache search linux-image


                                this will give you a very big output.Now chose one of them that you want to install and install it by following commands(Don't type these commands like this,replace the word kernal_version with the kernel version which you wish to install)



                                sudo apt-get install linux-image-kernal_version
                                sudo apt-get install linux-image-extra-kernal_version
                                sudo apt-get install linux-headers-kernal_version


                                Now in my case i choose linux-image-4.10.0-22-generic so my command will look like this



                                sudo apt-get install linux-image-4.10.0-22-generic 
                                sudo apt-get install linux-image-extra-4.10.0-22-generic
                                sudo apt-get install linux-headers-4.10.0-22-generic


                                now in the end remove old kernel by command



                                sudo apt-get autoremove


                                Now when I first did it, I Don't know is it my hardware problem or because of removing the old kernel,but my laptop shows me black screen which happens to my laptop sometimes.Thus I remove it's battery and rebooted and typed the command.Also i don't suffer from my black screen issue any more.



                                uname -r


                                and it gives me



                                linux-image-4.10.0-22-generic


                                which means kernel is updated.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Jun 17 '17 at 5:33









                                noonenoone

                                894520




                                894520







                                • 3





                                  Yoour black screen issue may be because you removed the kernel in use. After you install the new kernel, you have to reboot. Then remove old kernel.

                                  – ravery
                                  Oct 2 '17 at 3:05












                                • 3





                                  Yoour black screen issue may be because you removed the kernel in use. After you install the new kernel, you have to reboot. Then remove old kernel.

                                  – ravery
                                  Oct 2 '17 at 3:05







                                3




                                3





                                Yoour black screen issue may be because you removed the kernel in use. After you install the new kernel, you have to reboot. Then remove old kernel.

                                – ravery
                                Oct 2 '17 at 3:05





                                Yoour black screen issue may be because you removed the kernel in use. After you install the new kernel, you have to reboot. Then remove old kernel.

                                – ravery
                                Oct 2 '17 at 3:05











                                6














                                I wrote a script and always will be up to date.



                                ukupgrade: Ubuntu Kernel Upgrade



                                • Open your favorite terminal and run the follwing commands


                                • Give executable permission to file



                                  chmod +x ./ukupgrade




                                • Call the script



                                  ./ukupgrade







                                share|improve this answer




















                                • 1





                                  this was the best.

                                  – Ali
                                  Nov 3 '16 at 12:02











                                • keeps installing the low latency version when asking for generic~

                                  – user2413
                                  Mar 3 '17 at 18:54











                                • I didn't know about this tool so I also wrote a similar tool, which also supports selecting the generic/low latency flavor. You can find it here: github.com/cristim/kernel-update

                                  – Cristian Măgherușan-Stanciu
                                  Jul 10 '17 at 7:54
















                                6














                                I wrote a script and always will be up to date.



                                ukupgrade: Ubuntu Kernel Upgrade



                                • Open your favorite terminal and run the follwing commands


                                • Give executable permission to file



                                  chmod +x ./ukupgrade




                                • Call the script



                                  ./ukupgrade







                                share|improve this answer




















                                • 1





                                  this was the best.

                                  – Ali
                                  Nov 3 '16 at 12:02











                                • keeps installing the low latency version when asking for generic~

                                  – user2413
                                  Mar 3 '17 at 18:54











                                • I didn't know about this tool so I also wrote a similar tool, which also supports selecting the generic/low latency flavor. You can find it here: github.com/cristim/kernel-update

                                  – Cristian Măgherușan-Stanciu
                                  Jul 10 '17 at 7:54














                                6












                                6








                                6







                                I wrote a script and always will be up to date.



                                ukupgrade: Ubuntu Kernel Upgrade



                                • Open your favorite terminal and run the follwing commands


                                • Give executable permission to file



                                  chmod +x ./ukupgrade




                                • Call the script



                                  ./ukupgrade







                                share|improve this answer















                                I wrote a script and always will be up to date.



                                ukupgrade: Ubuntu Kernel Upgrade



                                • Open your favorite terminal and run the follwing commands


                                • Give executable permission to file



                                  chmod +x ./ukupgrade




                                • Call the script



                                  ./ukupgrade








                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Sep 3 '14 at 2:35

























                                answered Sep 3 '14 at 1:44









                                muhasturkmuhasturk

                                3,181289




                                3,181289







                                • 1





                                  this was the best.

                                  – Ali
                                  Nov 3 '16 at 12:02











                                • keeps installing the low latency version when asking for generic~

                                  – user2413
                                  Mar 3 '17 at 18:54











                                • I didn't know about this tool so I also wrote a similar tool, which also supports selecting the generic/low latency flavor. You can find it here: github.com/cristim/kernel-update

                                  – Cristian Măgherușan-Stanciu
                                  Jul 10 '17 at 7:54













                                • 1





                                  this was the best.

                                  – Ali
                                  Nov 3 '16 at 12:02











                                • keeps installing the low latency version when asking for generic~

                                  – user2413
                                  Mar 3 '17 at 18:54











                                • I didn't know about this tool so I also wrote a similar tool, which also supports selecting the generic/low latency flavor. You can find it here: github.com/cristim/kernel-update

                                  – Cristian Măgherușan-Stanciu
                                  Jul 10 '17 at 7:54








                                1




                                1





                                this was the best.

                                – Ali
                                Nov 3 '16 at 12:02





                                this was the best.

                                – Ali
                                Nov 3 '16 at 12:02













                                keeps installing the low latency version when asking for generic~

                                – user2413
                                Mar 3 '17 at 18:54





                                keeps installing the low latency version when asking for generic~

                                – user2413
                                Mar 3 '17 at 18:54













                                I didn't know about this tool so I also wrote a similar tool, which also supports selecting the generic/low latency flavor. You can find it here: github.com/cristim/kernel-update

                                – Cristian Măgherușan-Stanciu
                                Jul 10 '17 at 7:54






                                I didn't know about this tool so I also wrote a similar tool, which also supports selecting the generic/low latency flavor. You can find it here: github.com/cristim/kernel-update

                                – Cristian Măgherușan-Stanciu
                                Jul 10 '17 at 7:54












                                6














                                Run the following Terminal commands to install a new Ubuntu mainline kernel.



                                sudo apt-get update
                                sudo apt-get install python-bs4
                                cd /tmp
                                rm -rf medigeek-kmp*
                                wget https://github.com/medigeek/kmp-downloader/tarball/master -O kmpd.tar.gz
                                tar xzf kmpd.tar.gz
                                cd medigeek-*
                                python kmpd.py -d


                                The script is hosted at Github. Just press Enter instead of a number if you get stuck on a certain question in the Python script.






                                share|improve this answer




















                                • 3





                                  I'm the author of that script. I've just fixed it. Please file bug reports, most of the time programmers don't know bugs exist until someone files a report. :)

                                  – Savvas Radevic
                                  Jul 19 '13 at 19:29











                                • What is the advantage of your script from just doing the install of the deb package like described by the best answer here?

                                  – rubo77
                                  Aug 7 '14 at 2:27











                                • I was just thinking of this type of tool since I crashed because apt did not install dependencies for me. You would think that apt was all about dependencies. Wrong. A script can be updated for the latest release or search for one and let the user choose. All that said, if I get my system up again, I will go direct since I found the terminal commands for rc6

                                  – Bhikkhu Subhuti
                                  Mar 4 '16 at 15:21











                                • @SavvasRadevic ImportError: No module named apt_pkg

                                  – Yahya
                                  17 hours ago















                                6














                                Run the following Terminal commands to install a new Ubuntu mainline kernel.



                                sudo apt-get update
                                sudo apt-get install python-bs4
                                cd /tmp
                                rm -rf medigeek-kmp*
                                wget https://github.com/medigeek/kmp-downloader/tarball/master -O kmpd.tar.gz
                                tar xzf kmpd.tar.gz
                                cd medigeek-*
                                python kmpd.py -d


                                The script is hosted at Github. Just press Enter instead of a number if you get stuck on a certain question in the Python script.






                                share|improve this answer




















                                • 3





                                  I'm the author of that script. I've just fixed it. Please file bug reports, most of the time programmers don't know bugs exist until someone files a report. :)

                                  – Savvas Radevic
                                  Jul 19 '13 at 19:29











                                • What is the advantage of your script from just doing the install of the deb package like described by the best answer here?

                                  – rubo77
                                  Aug 7 '14 at 2:27











                                • I was just thinking of this type of tool since I crashed because apt did not install dependencies for me. You would think that apt was all about dependencies. Wrong. A script can be updated for the latest release or search for one and let the user choose. All that said, if I get my system up again, I will go direct since I found the terminal commands for rc6

                                  – Bhikkhu Subhuti
                                  Mar 4 '16 at 15:21











                                • @SavvasRadevic ImportError: No module named apt_pkg

                                  – Yahya
                                  17 hours ago













                                6












                                6








                                6







                                Run the following Terminal commands to install a new Ubuntu mainline kernel.



                                sudo apt-get update
                                sudo apt-get install python-bs4
                                cd /tmp
                                rm -rf medigeek-kmp*
                                wget https://github.com/medigeek/kmp-downloader/tarball/master -O kmpd.tar.gz
                                tar xzf kmpd.tar.gz
                                cd medigeek-*
                                python kmpd.py -d


                                The script is hosted at Github. Just press Enter instead of a number if you get stuck on a certain question in the Python script.






                                share|improve this answer















                                Run the following Terminal commands to install a new Ubuntu mainline kernel.



                                sudo apt-get update
                                sudo apt-get install python-bs4
                                cd /tmp
                                rm -rf medigeek-kmp*
                                wget https://github.com/medigeek/kmp-downloader/tarball/master -O kmpd.tar.gz
                                tar xzf kmpd.tar.gz
                                cd medigeek-*
                                python kmpd.py -d


                                The script is hosted at Github. Just press Enter instead of a number if you get stuck on a certain question in the Python script.







                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Apr 15 '17 at 8:28









                                Dej

                                836




                                836










                                answered Mar 28 '13 at 15:31









                                user145058user145058

                                6911




                                6911







                                • 3





                                  I'm the author of that script. I've just fixed it. Please file bug reports, most of the time programmers don't know bugs exist until someone files a report. :)

                                  – Savvas Radevic
                                  Jul 19 '13 at 19:29











                                • What is the advantage of your script from just doing the install of the deb package like described by the best answer here?

                                  – rubo77
                                  Aug 7 '14 at 2:27











                                • I was just thinking of this type of tool since I crashed because apt did not install dependencies for me. You would think that apt was all about dependencies. Wrong. A script can be updated for the latest release or search for one and let the user choose. All that said, if I get my system up again, I will go direct since I found the terminal commands for rc6

                                  – Bhikkhu Subhuti
                                  Mar 4 '16 at 15:21











                                • @SavvasRadevic ImportError: No module named apt_pkg

                                  – Yahya
                                  17 hours ago












                                • 3





                                  I'm the author of that script. I've just fixed it. Please file bug reports, most of the time programmers don't know bugs exist until someone files a report. :)

                                  – Savvas Radevic
                                  Jul 19 '13 at 19:29











                                • What is the advantage of your script from just doing the install of the deb package like described by the best answer here?

                                  – rubo77
                                  Aug 7 '14 at 2:27











                                • I was just thinking of this type of tool since I crashed because apt did not install dependencies for me. You would think that apt was all about dependencies. Wrong. A script can be updated for the latest release or search for one and let the user choose. All that said, if I get my system up again, I will go direct since I found the terminal commands for rc6

                                  – Bhikkhu Subhuti
                                  Mar 4 '16 at 15:21











                                • @SavvasRadevic ImportError: No module named apt_pkg

                                  – Yahya
                                  17 hours ago







                                3




                                3





                                I'm the author of that script. I've just fixed it. Please file bug reports, most of the time programmers don't know bugs exist until someone files a report. :)

                                – Savvas Radevic
                                Jul 19 '13 at 19:29





                                I'm the author of that script. I've just fixed it. Please file bug reports, most of the time programmers don't know bugs exist until someone files a report. :)

                                – Savvas Radevic
                                Jul 19 '13 at 19:29













                                What is the advantage of your script from just doing the install of the deb package like described by the best answer here?

                                – rubo77
                                Aug 7 '14 at 2:27





                                What is the advantage of your script from just doing the install of the deb package like described by the best answer here?

                                – rubo77
                                Aug 7 '14 at 2:27













                                I was just thinking of this type of tool since I crashed because apt did not install dependencies for me. You would think that apt was all about dependencies. Wrong. A script can be updated for the latest release or search for one and let the user choose. All that said, if I get my system up again, I will go direct since I found the terminal commands for rc6

                                – Bhikkhu Subhuti
                                Mar 4 '16 at 15:21





                                I was just thinking of this type of tool since I crashed because apt did not install dependencies for me. You would think that apt was all about dependencies. Wrong. A script can be updated for the latest release or search for one and let the user choose. All that said, if I get my system up again, I will go direct since I found the terminal commands for rc6

                                – Bhikkhu Subhuti
                                Mar 4 '16 at 15:21













                                @SavvasRadevic ImportError: No module named apt_pkg

                                – Yahya
                                17 hours ago





                                @SavvasRadevic ImportError: No module named apt_pkg

                                – Yahya
                                17 hours ago











                                5














                                If you don't want to go through the hassle to manually upgrade the kernel you can try UUKU. Works fine even on Ubuntu derivatives like elementory, mint.



                                I used it to fix my WiFi issue as sometimes some new hardware won't be detected by old kernel.
                                Other than hardware driver update I don't find the need to upgrade kernel.
                                New kernels do have security and slight performance upgrade but also have tendency to break things like your VM.



                                sudo apt-add-repository -y ppa:teejee2008/ppa
                                sudo apt-get update
                                sudo apt-get install ukuu
                                ukuu-gtk


                                SOURCE:



                                http://www.makeuseof.com/tag/upgrade-kernel-ukuu-ubuntu/



                                http://www.teejeetech.in/2016/07/ukuu-v167.html?m=1






                                share|improve this answer





























                                  5














                                  If you don't want to go through the hassle to manually upgrade the kernel you can try UUKU. Works fine even on Ubuntu derivatives like elementory, mint.



                                  I used it to fix my WiFi issue as sometimes some new hardware won't be detected by old kernel.
                                  Other than hardware driver update I don't find the need to upgrade kernel.
                                  New kernels do have security and slight performance upgrade but also have tendency to break things like your VM.



                                  sudo apt-add-repository -y ppa:teejee2008/ppa
                                  sudo apt-get update
                                  sudo apt-get install ukuu
                                  ukuu-gtk


                                  SOURCE:



                                  http://www.makeuseof.com/tag/upgrade-kernel-ukuu-ubuntu/



                                  http://www.teejeetech.in/2016/07/ukuu-v167.html?m=1






                                  share|improve this answer



























                                    5












                                    5








                                    5







                                    If you don't want to go through the hassle to manually upgrade the kernel you can try UUKU. Works fine even on Ubuntu derivatives like elementory, mint.



                                    I used it to fix my WiFi issue as sometimes some new hardware won't be detected by old kernel.
                                    Other than hardware driver update I don't find the need to upgrade kernel.
                                    New kernels do have security and slight performance upgrade but also have tendency to break things like your VM.



                                    sudo apt-add-repository -y ppa:teejee2008/ppa
                                    sudo apt-get update
                                    sudo apt-get install ukuu
                                    ukuu-gtk


                                    SOURCE:



                                    http://www.makeuseof.com/tag/upgrade-kernel-ukuu-ubuntu/



                                    http://www.teejeetech.in/2016/07/ukuu-v167.html?m=1






                                    share|improve this answer















                                    If you don't want to go through the hassle to manually upgrade the kernel you can try UUKU. Works fine even on Ubuntu derivatives like elementory, mint.



                                    I used it to fix my WiFi issue as sometimes some new hardware won't be detected by old kernel.
                                    Other than hardware driver update I don't find the need to upgrade kernel.
                                    New kernels do have security and slight performance upgrade but also have tendency to break things like your VM.



                                    sudo apt-add-repository -y ppa:teejee2008/ppa
                                    sudo apt-get update
                                    sudo apt-get install ukuu
                                    ukuu-gtk


                                    SOURCE:



                                    http://www.makeuseof.com/tag/upgrade-kernel-ukuu-ubuntu/



                                    http://www.teejeetech.in/2016/07/ukuu-v167.html?m=1







                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited Apr 25 '17 at 19:51









                                    anonymous2

                                    3,35241849




                                    3,35241849










                                    answered Apr 25 '17 at 18:04









                                    ubuubu

                                    5111




                                    5111





















                                        3














                                        Another option is to try customized and optimized builds, such as this i3/i5/i7 optimized 3.2.1 kernel for Ubuntu:



                                        DuoPetalFlower, My Experiments with Linux - 3.2.1 kernel



                                        He also has Intel atom optimized builds which can work quite well if you're trying to squeeze every last ounce of performance out of a netbook.



                                        There are other kernels like Liquorix that claim to be better optimized for desktop performance.



                                        Though not recommended by some, you can often run official kernels from later versions of Ubuntu without issues. I'm currently running the 3.3.3 precise kernel on oneiric and my machine works better than ever. Performance & battery life increased, while temperatures dropped a few degrees. My issue of a black screen when resuming from standby has also disappeared. Though I personally haven't had issues from using newer kernels, you will find some people who are strongly opposed to doing this.






                                        share|improve this answer



























                                          3














                                          Another option is to try customized and optimized builds, such as this i3/i5/i7 optimized 3.2.1 kernel for Ubuntu:



                                          DuoPetalFlower, My Experiments with Linux - 3.2.1 kernel



                                          He also has Intel atom optimized builds which can work quite well if you're trying to squeeze every last ounce of performance out of a netbook.



                                          There are other kernels like Liquorix that claim to be better optimized for desktop performance.



                                          Though not recommended by some, you can often run official kernels from later versions of Ubuntu without issues. I'm currently running the 3.3.3 precise kernel on oneiric and my machine works better than ever. Performance & battery life increased, while temperatures dropped a few degrees. My issue of a black screen when resuming from standby has also disappeared. Though I personally haven't had issues from using newer kernels, you will find some people who are strongly opposed to doing this.






                                          share|improve this answer

























                                            3












                                            3








                                            3







                                            Another option is to try customized and optimized builds, such as this i3/i5/i7 optimized 3.2.1 kernel for Ubuntu:



                                            DuoPetalFlower, My Experiments with Linux - 3.2.1 kernel



                                            He also has Intel atom optimized builds which can work quite well if you're trying to squeeze every last ounce of performance out of a netbook.



                                            There are other kernels like Liquorix that claim to be better optimized for desktop performance.



                                            Though not recommended by some, you can often run official kernels from later versions of Ubuntu without issues. I'm currently running the 3.3.3 precise kernel on oneiric and my machine works better than ever. Performance & battery life increased, while temperatures dropped a few degrees. My issue of a black screen when resuming from standby has also disappeared. Though I personally haven't had issues from using newer kernels, you will find some people who are strongly opposed to doing this.






                                            share|improve this answer













                                            Another option is to try customized and optimized builds, such as this i3/i5/i7 optimized 3.2.1 kernel for Ubuntu:



                                            DuoPetalFlower, My Experiments with Linux - 3.2.1 kernel



                                            He also has Intel atom optimized builds which can work quite well if you're trying to squeeze every last ounce of performance out of a netbook.



                                            There are other kernels like Liquorix that claim to be better optimized for desktop performance.



                                            Though not recommended by some, you can often run official kernels from later versions of Ubuntu without issues. I'm currently running the 3.3.3 precise kernel on oneiric and my machine works better than ever. Performance & battery life increased, while temperatures dropped a few degrees. My issue of a black screen when resuming from standby has also disappeared. Though I personally haven't had issues from using newer kernels, you will find some people who are strongly opposed to doing this.







                                            share|improve this answer












                                            share|improve this answer



                                            share|improve this answer










                                            answered Apr 26 '12 at 12:45









                                            VeazerVeazer

                                            1,13621017




                                            1,13621017





















                                                2














                                                As you've seen, Ubuntu does provide versions of the Linux kernel, but not always as fast as they are released upstream, you can always compile the 3.3.1 kernel yourself, but that may be more effort than you were looking for. If not, search around and I'm sure you'll find a tutorial you can follow such as this one. (note that I haven't checked that one thoroughly so be wary as kernels are dangerous beasts)






                                                share|improve this answer



























                                                  2














                                                  As you've seen, Ubuntu does provide versions of the Linux kernel, but not always as fast as they are released upstream, you can always compile the 3.3.1 kernel yourself, but that may be more effort than you were looking for. If not, search around and I'm sure you'll find a tutorial you can follow such as this one. (note that I haven't checked that one thoroughly so be wary as kernels are dangerous beasts)






                                                  share|improve this answer

























                                                    2












                                                    2








                                                    2







                                                    As you've seen, Ubuntu does provide versions of the Linux kernel, but not always as fast as they are released upstream, you can always compile the 3.3.1 kernel yourself, but that may be more effort than you were looking for. If not, search around and I'm sure you'll find a tutorial you can follow such as this one. (note that I haven't checked that one thoroughly so be wary as kernels are dangerous beasts)






                                                    share|improve this answer













                                                    As you've seen, Ubuntu does provide versions of the Linux kernel, but not always as fast as they are released upstream, you can always compile the 3.3.1 kernel yourself, but that may be more effort than you were looking for. If not, search around and I'm sure you'll find a tutorial you can follow such as this one. (note that I haven't checked that one thoroughly so be wary as kernels are dangerous beasts)







                                                    share|improve this answer












                                                    share|improve this answer



                                                    share|improve this answer










                                                    answered Apr 5 '12 at 5:47









                                                    agc93agc93

                                                    635313




                                                    635313





















                                                        2














                                                        None of the above answers satisfied my problem of manually update the kernel to the latest stable version. (My current laptop is very sensitive to RCs, Dell XPS 9365).



                                                        I created a shell script that searches for more recent kernel versions and shows them as options to be installed. You can give it a try, it's on github, please be sure to read the README.






                                                        share|improve this answer



























                                                          2














                                                          None of the above answers satisfied my problem of manually update the kernel to the latest stable version. (My current laptop is very sensitive to RCs, Dell XPS 9365).



                                                          I created a shell script that searches for more recent kernel versions and shows them as options to be installed. You can give it a try, it's on github, please be sure to read the README.






                                                          share|improve this answer

























                                                            2












                                                            2








                                                            2







                                                            None of the above answers satisfied my problem of manually update the kernel to the latest stable version. (My current laptop is very sensitive to RCs, Dell XPS 9365).



                                                            I created a shell script that searches for more recent kernel versions and shows them as options to be installed. You can give it a try, it's on github, please be sure to read the README.






                                                            share|improve this answer













                                                            None of the above answers satisfied my problem of manually update the kernel to the latest stable version. (My current laptop is very sensitive to RCs, Dell XPS 9365).



                                                            I created a shell script that searches for more recent kernel versions and shows them as options to be installed. You can give it a try, it's on github, please be sure to read the README.







                                                            share|improve this answer












                                                            share|improve this answer



                                                            share|improve this answer










                                                            answered Oct 18 '17 at 18:37









                                                            Philippe DelteilPhilippe Delteil

                                                            4891418




                                                            4891418





















                                                                2














                                                                I created this script kernel-upgrade.sh that downloads and installs a selected kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline:



                                                                TMP=/var/tmp/kernel
                                                                mkdir -p "$TMP" && cd "$TMP"
                                                                rm -f "$TMP"/*
                                                                F=v4.16-rc6
                                                                V=4.16.0-041600rc6
                                                                R=$(wget -qO - "http://kernel.ubuntu.com/~kernel-ppa/mainline/$F/0005-debian-changelog.patch" | sed -ne '/^+linux/s/.*.([0-9]+)).*/1/p;q')
                                                                B="$V.$R"
                                                                URL=http://kernel.ubuntu.com/~kernel-ppa/mainline
                                                                set -x
                                                                wget "$URL/$F/linux-headers-$V-generic_$B_amd64.deb"
                                                                "$URL/$F/linux-headers-$V_$B_all.deb"
                                                                "$URL/$F/linux-image-$V-generic_$B_amd64.deb"
                                                                sudo dpkg -i "linux-headers-$V-generic_$B_amd64.deb"
                                                                "linux-headers-$V_$B_all.deb linux-image-$V-generic_$B_amd64.deb"
                                                                # now enter: sudo reboot now


                                                                In case Ubuntu doesn't start with the new kernel, you can select "advanced settings" in your grub menu and select to start the last running kernel there.




                                                                Note: since 4.15-rc7 the kernel has the KPTI fix against meltdown attacks and since 4.15.1 for "Spectre Variant 2, Mitigation 2"
                                                                (check with http://github.com/speed47/spectre-meltdown-checker/)






                                                                share|improve this answer

























                                                                • I'm having some difficulty running this script. I may be doing something wrong, so here are my steps: 1. Disabled secure boot in BIOS, 2. saved the script to kernel-upgrade.sh, and chmod 777 kernel-upgrade.sh. I then ran it as sudo ./kernel-upgrade.sh. I then get the errors: rm: cannot remove '/var/tmp/kernel/*': No such file or directory; then ++ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16...<truncating url>` Connecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:80... connected. HTTP request sent, awaiting response... 404 Not Found` The 404 happens 3x

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 2:19











                                                                • the first warning by rm could be ignored (I added rm -f now). the rest is not clear, what is the problem. truncating url here is not helping, solving the problem. can you post the output in pastebin.com, so we can see what the resulting url would be?

                                                                  – rubo77
                                                                  Apr 14 '18 at 16:41












                                                                • sure, pasted over here pastebin.com/KcdVdKQr

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 20:36











                                                                • also if it matters, I am running ubuntu 17.10

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 21:04











                                                                • It said this is the wrong path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6/… check this for the right path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6

                                                                  – rubo77
                                                                  Apr 17 '18 at 21:28















                                                                2














                                                                I created this script kernel-upgrade.sh that downloads and installs a selected kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline:



                                                                TMP=/var/tmp/kernel
                                                                mkdir -p "$TMP" && cd "$TMP"
                                                                rm -f "$TMP"/*
                                                                F=v4.16-rc6
                                                                V=4.16.0-041600rc6
                                                                R=$(wget -qO - "http://kernel.ubuntu.com/~kernel-ppa/mainline/$F/0005-debian-changelog.patch" | sed -ne '/^+linux/s/.*.([0-9]+)).*/1/p;q')
                                                                B="$V.$R"
                                                                URL=http://kernel.ubuntu.com/~kernel-ppa/mainline
                                                                set -x
                                                                wget "$URL/$F/linux-headers-$V-generic_$B_amd64.deb"
                                                                "$URL/$F/linux-headers-$V_$B_all.deb"
                                                                "$URL/$F/linux-image-$V-generic_$B_amd64.deb"
                                                                sudo dpkg -i "linux-headers-$V-generic_$B_amd64.deb"
                                                                "linux-headers-$V_$B_all.deb linux-image-$V-generic_$B_amd64.deb"
                                                                # now enter: sudo reboot now


                                                                In case Ubuntu doesn't start with the new kernel, you can select "advanced settings" in your grub menu and select to start the last running kernel there.




                                                                Note: since 4.15-rc7 the kernel has the KPTI fix against meltdown attacks and since 4.15.1 for "Spectre Variant 2, Mitigation 2"
                                                                (check with http://github.com/speed47/spectre-meltdown-checker/)






                                                                share|improve this answer

























                                                                • I'm having some difficulty running this script. I may be doing something wrong, so here are my steps: 1. Disabled secure boot in BIOS, 2. saved the script to kernel-upgrade.sh, and chmod 777 kernel-upgrade.sh. I then ran it as sudo ./kernel-upgrade.sh. I then get the errors: rm: cannot remove '/var/tmp/kernel/*': No such file or directory; then ++ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16...<truncating url>` Connecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:80... connected. HTTP request sent, awaiting response... 404 Not Found` The 404 happens 3x

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 2:19











                                                                • the first warning by rm could be ignored (I added rm -f now). the rest is not clear, what is the problem. truncating url here is not helping, solving the problem. can you post the output in pastebin.com, so we can see what the resulting url would be?

                                                                  – rubo77
                                                                  Apr 14 '18 at 16:41












                                                                • sure, pasted over here pastebin.com/KcdVdKQr

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 20:36











                                                                • also if it matters, I am running ubuntu 17.10

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 21:04











                                                                • It said this is the wrong path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6/… check this for the right path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6

                                                                  – rubo77
                                                                  Apr 17 '18 at 21:28













                                                                2












                                                                2








                                                                2







                                                                I created this script kernel-upgrade.sh that downloads and installs a selected kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline:



                                                                TMP=/var/tmp/kernel
                                                                mkdir -p "$TMP" && cd "$TMP"
                                                                rm -f "$TMP"/*
                                                                F=v4.16-rc6
                                                                V=4.16.0-041600rc6
                                                                R=$(wget -qO - "http://kernel.ubuntu.com/~kernel-ppa/mainline/$F/0005-debian-changelog.patch" | sed -ne '/^+linux/s/.*.([0-9]+)).*/1/p;q')
                                                                B="$V.$R"
                                                                URL=http://kernel.ubuntu.com/~kernel-ppa/mainline
                                                                set -x
                                                                wget "$URL/$F/linux-headers-$V-generic_$B_amd64.deb"
                                                                "$URL/$F/linux-headers-$V_$B_all.deb"
                                                                "$URL/$F/linux-image-$V-generic_$B_amd64.deb"
                                                                sudo dpkg -i "linux-headers-$V-generic_$B_amd64.deb"
                                                                "linux-headers-$V_$B_all.deb linux-image-$V-generic_$B_amd64.deb"
                                                                # now enter: sudo reboot now


                                                                In case Ubuntu doesn't start with the new kernel, you can select "advanced settings" in your grub menu and select to start the last running kernel there.




                                                                Note: since 4.15-rc7 the kernel has the KPTI fix against meltdown attacks and since 4.15.1 for "Spectre Variant 2, Mitigation 2"
                                                                (check with http://github.com/speed47/spectre-meltdown-checker/)






                                                                share|improve this answer















                                                                I created this script kernel-upgrade.sh that downloads and installs a selected kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline:



                                                                TMP=/var/tmp/kernel
                                                                mkdir -p "$TMP" && cd "$TMP"
                                                                rm -f "$TMP"/*
                                                                F=v4.16-rc6
                                                                V=4.16.0-041600rc6
                                                                R=$(wget -qO - "http://kernel.ubuntu.com/~kernel-ppa/mainline/$F/0005-debian-changelog.patch" | sed -ne '/^+linux/s/.*.([0-9]+)).*/1/p;q')
                                                                B="$V.$R"
                                                                URL=http://kernel.ubuntu.com/~kernel-ppa/mainline
                                                                set -x
                                                                wget "$URL/$F/linux-headers-$V-generic_$B_amd64.deb"
                                                                "$URL/$F/linux-headers-$V_$B_all.deb"
                                                                "$URL/$F/linux-image-$V-generic_$B_amd64.deb"
                                                                sudo dpkg -i "linux-headers-$V-generic_$B_amd64.deb"
                                                                "linux-headers-$V_$B_all.deb linux-image-$V-generic_$B_amd64.deb"
                                                                # now enter: sudo reboot now


                                                                In case Ubuntu doesn't start with the new kernel, you can select "advanced settings" in your grub menu and select to start the last running kernel there.




                                                                Note: since 4.15-rc7 the kernel has the KPTI fix against meltdown attacks and since 4.15.1 for "Spectre Variant 2, Mitigation 2"
                                                                (check with http://github.com/speed47/spectre-meltdown-checker/)







                                                                share|improve this answer














                                                                share|improve this answer



                                                                share|improve this answer








                                                                edited Apr 21 '18 at 9:15









                                                                David Foerster

                                                                28.4k1366112




                                                                28.4k1366112










                                                                answered Oct 11 '17 at 0:37









                                                                rubo77rubo77

                                                                15.2k3196202




                                                                15.2k3196202












                                                                • I'm having some difficulty running this script. I may be doing something wrong, so here are my steps: 1. Disabled secure boot in BIOS, 2. saved the script to kernel-upgrade.sh, and chmod 777 kernel-upgrade.sh. I then ran it as sudo ./kernel-upgrade.sh. I then get the errors: rm: cannot remove '/var/tmp/kernel/*': No such file or directory; then ++ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16...<truncating url>` Connecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:80... connected. HTTP request sent, awaiting response... 404 Not Found` The 404 happens 3x

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 2:19











                                                                • the first warning by rm could be ignored (I added rm -f now). the rest is not clear, what is the problem. truncating url here is not helping, solving the problem. can you post the output in pastebin.com, so we can see what the resulting url would be?

                                                                  – rubo77
                                                                  Apr 14 '18 at 16:41












                                                                • sure, pasted over here pastebin.com/KcdVdKQr

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 20:36











                                                                • also if it matters, I am running ubuntu 17.10

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 21:04











                                                                • It said this is the wrong path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6/… check this for the right path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6

                                                                  – rubo77
                                                                  Apr 17 '18 at 21:28

















                                                                • I'm having some difficulty running this script. I may be doing something wrong, so here are my steps: 1. Disabled secure boot in BIOS, 2. saved the script to kernel-upgrade.sh, and chmod 777 kernel-upgrade.sh. I then ran it as sudo ./kernel-upgrade.sh. I then get the errors: rm: cannot remove '/var/tmp/kernel/*': No such file or directory; then ++ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16...<truncating url>` Connecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:80... connected. HTTP request sent, awaiting response... 404 Not Found` The 404 happens 3x

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 2:19











                                                                • the first warning by rm could be ignored (I added rm -f now). the rest is not clear, what is the problem. truncating url here is not helping, solving the problem. can you post the output in pastebin.com, so we can see what the resulting url would be?

                                                                  – rubo77
                                                                  Apr 14 '18 at 16:41












                                                                • sure, pasted over here pastebin.com/KcdVdKQr

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 20:36











                                                                • also if it matters, I am running ubuntu 17.10

                                                                  – Leftover Salad
                                                                  Apr 14 '18 at 21:04











                                                                • It said this is the wrong path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6/… check this for the right path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6

                                                                  – rubo77
                                                                  Apr 17 '18 at 21:28
















                                                                I'm having some difficulty running this script. I may be doing something wrong, so here are my steps: 1. Disabled secure boot in BIOS, 2. saved the script to kernel-upgrade.sh, and chmod 777 kernel-upgrade.sh. I then ran it as sudo ./kernel-upgrade.sh. I then get the errors: rm: cannot remove '/var/tmp/kernel/*': No such file or directory; then ++ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16...<truncating url>` Connecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:80... connected. HTTP request sent, awaiting response... 404 Not Found` The 404 happens 3x

                                                                – Leftover Salad
                                                                Apr 14 '18 at 2:19





                                                                I'm having some difficulty running this script. I may be doing something wrong, so here are my steps: 1. Disabled secure boot in BIOS, 2. saved the script to kernel-upgrade.sh, and chmod 777 kernel-upgrade.sh. I then ran it as sudo ./kernel-upgrade.sh. I then get the errors: rm: cannot remove '/var/tmp/kernel/*': No such file or directory; then ++ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16...<truncating url>` Connecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:80... connected. HTTP request sent, awaiting response... 404 Not Found` The 404 happens 3x

                                                                – Leftover Salad
                                                                Apr 14 '18 at 2:19













                                                                the first warning by rm could be ignored (I added rm -f now). the rest is not clear, what is the problem. truncating url here is not helping, solving the problem. can you post the output in pastebin.com, so we can see what the resulting url would be?

                                                                – rubo77
                                                                Apr 14 '18 at 16:41






                                                                the first warning by rm could be ignored (I added rm -f now). the rest is not clear, what is the problem. truncating url here is not helping, solving the problem. can you post the output in pastebin.com, so we can see what the resulting url would be?

                                                                – rubo77
                                                                Apr 14 '18 at 16:41














                                                                sure, pasted over here pastebin.com/KcdVdKQr

                                                                – Leftover Salad
                                                                Apr 14 '18 at 20:36





                                                                sure, pasted over here pastebin.com/KcdVdKQr

                                                                – Leftover Salad
                                                                Apr 14 '18 at 20:36













                                                                also if it matters, I am running ubuntu 17.10

                                                                – Leftover Salad
                                                                Apr 14 '18 at 21:04





                                                                also if it matters, I am running ubuntu 17.10

                                                                – Leftover Salad
                                                                Apr 14 '18 at 21:04













                                                                It said this is the wrong path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6/… check this for the right path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6

                                                                – rubo77
                                                                Apr 17 '18 at 21:28





                                                                It said this is the wrong path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6/… check this for the right path: kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc6

                                                                – rubo77
                                                                Apr 17 '18 at 21:28











                                                                0














                                                                to install the latest kernel
                                                                install Ubuntu Kernel Update Utility



                                                                $ sudo add-apt-repository ppa:teejee2008/ppa

                                                                $ sudo apt-get install ukuu


                                                                disable access control with the following command:



                                                                $ sudo xhost +


                                                                then install with ukuu



                                                                $ sudo ukuu

                                                                $ sudo ukuu --install-latest


                                                                and reboot



                                                                $ sudo reboot





                                                                share|improve this answer

























                                                                • if you want to see a list of all kernel versions use 'sudo ukuu --list'.

                                                                  – Vitaliy LiBrus
                                                                  Jan 16 at 9:04











                                                                • if you want to see other options of ukuu type 'ukuu --help'

                                                                  – Vitaliy LiBrus
                                                                  Jan 16 at 9:05















                                                                0














                                                                to install the latest kernel
                                                                install Ubuntu Kernel Update Utility



                                                                $ sudo add-apt-repository ppa:teejee2008/ppa

                                                                $ sudo apt-get install ukuu


                                                                disable access control with the following command:



                                                                $ sudo xhost +


                                                                then install with ukuu



                                                                $ sudo ukuu

                                                                $ sudo ukuu --install-latest


                                                                and reboot



                                                                $ sudo reboot





                                                                share|improve this answer

























                                                                • if you want to see a list of all kernel versions use 'sudo ukuu --list'.

                                                                  – Vitaliy LiBrus
                                                                  Jan 16 at 9:04











                                                                • if you want to see other options of ukuu type 'ukuu --help'

                                                                  – Vitaliy LiBrus
                                                                  Jan 16 at 9:05













                                                                0












                                                                0








                                                                0







                                                                to install the latest kernel
                                                                install Ubuntu Kernel Update Utility



                                                                $ sudo add-apt-repository ppa:teejee2008/ppa

                                                                $ sudo apt-get install ukuu


                                                                disable access control with the following command:



                                                                $ sudo xhost +


                                                                then install with ukuu



                                                                $ sudo ukuu

                                                                $ sudo ukuu --install-latest


                                                                and reboot



                                                                $ sudo reboot





                                                                share|improve this answer















                                                                to install the latest kernel
                                                                install Ubuntu Kernel Update Utility



                                                                $ sudo add-apt-repository ppa:teejee2008/ppa

                                                                $ sudo apt-get install ukuu


                                                                disable access control with the following command:



                                                                $ sudo xhost +


                                                                then install with ukuu



                                                                $ sudo ukuu

                                                                $ sudo ukuu --install-latest


                                                                and reboot



                                                                $ sudo reboot






                                                                share|improve this answer














                                                                share|improve this answer



                                                                share|improve this answer








                                                                edited Jan 16 at 9:01

























                                                                answered Jan 16 at 8:55









                                                                Vitaliy LiBrusVitaliy LiBrus

                                                                112




                                                                112












                                                                • if you want to see a list of all kernel versions use 'sudo ukuu --list'.

                                                                  – Vitaliy LiBrus
                                                                  Jan 16 at 9:04











                                                                • if you want to see other options of ukuu type 'ukuu --help'

                                                                  – Vitaliy LiBrus
                                                                  Jan 16 at 9:05

















                                                                • if you want to see a list of all kernel versions use 'sudo ukuu --list'.

                                                                  – Vitaliy LiBrus
                                                                  Jan 16 at 9:04











                                                                • if you want to see other options of ukuu type 'ukuu --help'

                                                                  – Vitaliy LiBrus
                                                                  Jan 16 at 9:05
















                                                                if you want to see a list of all kernel versions use 'sudo ukuu --list'.

                                                                – Vitaliy LiBrus
                                                                Jan 16 at 9:04





                                                                if you want to see a list of all kernel versions use 'sudo ukuu --list'.

                                                                – Vitaliy LiBrus
                                                                Jan 16 at 9:04













                                                                if you want to see other options of ukuu type 'ukuu --help'

                                                                – Vitaliy LiBrus
                                                                Jan 16 at 9:05





                                                                if you want to see other options of ukuu type 'ukuu --help'

                                                                – Vitaliy LiBrus
                                                                Jan 16 at 9:05











                                                                0














                                                                Check Your Kernel Version
                                                                $ uname -sr



                                                                Download Kernel v5 for 32 bit



                                                                $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
                                                                $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
                                                                $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
                                                                $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb



                                                                Download Kernel v5 for 64 bit



                                                                $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
                                                                $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
                                                                $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
                                                                $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb



                                                                Install it



                                                                $ sudo dpkg -i *.deb



                                                                Then Reboot



                                                                sudo reboot






                                                                share|improve this answer










                                                                New contributor




                                                                pranz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                Check out our Code of Conduct.
























                                                                  0














                                                                  Check Your Kernel Version
                                                                  $ uname -sr



                                                                  Download Kernel v5 for 32 bit



                                                                  $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
                                                                  $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
                                                                  $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
                                                                  $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb



                                                                  Download Kernel v5 for 64 bit



                                                                  $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
                                                                  $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
                                                                  $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
                                                                  $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb



                                                                  Install it



                                                                  $ sudo dpkg -i *.deb



                                                                  Then Reboot



                                                                  sudo reboot






                                                                  share|improve this answer










                                                                  New contributor




                                                                  pranz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                  Check out our Code of Conduct.






















                                                                    0












                                                                    0








                                                                    0







                                                                    Check Your Kernel Version
                                                                    $ uname -sr



                                                                    Download Kernel v5 for 32 bit



                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb



                                                                    Download Kernel v5 for 64 bit



                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb



                                                                    Install it



                                                                    $ sudo dpkg -i *.deb



                                                                    Then Reboot



                                                                    sudo reboot






                                                                    share|improve this answer










                                                                    New contributor




                                                                    pranz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                    Check out our Code of Conduct.










                                                                    Check Your Kernel Version
                                                                    $ uname -sr



                                                                    Download Kernel v5 for 32 bit



                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_i386.deb



                                                                    Download Kernel v5 for 64 bit



                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000_5.0.0-050000.201903032031_all.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-headers-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-image-unsigned-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb
                                                                    $ wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.0/linux-modules-5.0.0-050000-generic_5.0.0-050000.201903032031_amd64.deb



                                                                    Install it



                                                                    $ sudo dpkg -i *.deb



                                                                    Then Reboot



                                                                    sudo reboot







                                                                    share|improve this answer










                                                                    New contributor




                                                                    pranz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                    Check out our Code of Conduct.









                                                                    share|improve this answer



                                                                    share|improve this answer








                                                                    edited 31 mins ago





















                                                                    New contributor




                                                                    pranz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                    Check out our Code of Conduct.









                                                                    answered 47 mins ago









                                                                    pranzpranz

                                                                    12




                                                                    12




                                                                    New contributor




                                                                    pranz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                    Check out our Code of Conduct.





                                                                    New contributor





                                                                    pranz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                    Check out our Code of Conduct.






                                                                    pranz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                    Check out our Code of Conduct.



























                                                                        draft saved

                                                                        draft discarded
















































                                                                        Thanks for contributing an answer to Ask Ubuntu!


                                                                        • Please be sure to answer the question. Provide details and share your research!

                                                                        But avoid


                                                                        • Asking for help, clarification, or responding to other answers.

                                                                        • Making statements based on opinion; back them up with references or personal experience.

                                                                        To learn more, see our tips on writing great answers.




                                                                        draft saved


                                                                        draft discarded














                                                                        StackExchange.ready(
                                                                        function ()
                                                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f119080%2fhow-to-update-kernel-to-the-latest-mainline-version-without-any-distro-upgrade%23new-answer', 'question_page');

                                                                        );

                                                                        Post as a guest















                                                                        Required, but never shown





















































                                                                        Required, but never shown














                                                                        Required, but never shown












                                                                        Required, but never shown







                                                                        Required, but never shown

































                                                                        Required, but never shown














                                                                        Required, but never shown












                                                                        Required, but never shown







                                                                        Required, but never shown







                                                                        Popular posts from this blog

                                                                        Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                                                                        Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                                                                        Torre de la Isleta Índice Véase también Referencias Bibliografía Enlaces externos Menú de navegación38°25′58″N 0°23′02″O / 38.43277778, -0.3838888938°25′58″N 0°23′02″O / 38.43277778, -0.38388889Torre de la Illeta de l’Horta o Torre Saleta. Base de datos de bienes inmuebles. Patrimonio Cultural. Secretaría de Estado de CulturaFicha BIC Torre de la Illeta de l’Horta. Dirección General de Patrimonio Cultural. Generalitat ValencianaLugares de interés. Ayuntamiento del CampelloTorre de la Isleta en CastillosNet.org