Results 1 to 6 of 6

Thread: How to Find and Install the Latest Stable Linux Kernel

  1. #1
    Join Date
    Mar 2010
    Location
    MI, United States
    Beans
    116
    Distro
    Ubuntu 14.04 Trusty Tahr

    Thumbs down How to Find and Install the Latest Stable Linux Kernel

    Here's an easy how-to guide on how to find the latest mainline, stable, or longterm Linux kernel and how to upgrade to it.

    You can open System Monitor and go to the first tab to see what kernel you currently have.

    First, check out http://www.kernel.org/ to see the latest kernel that you want.

    Then, go to http://kernel.ubuntu.com/~kernel-ppa/mainline/ and scroll down to the one you found on the other site.

    Open up the link, then download (the order is important here):
    linux-headers-..._all.deb
    linux-headers-...i386.deb (or linux-headers-...amd64.deb if you're using 64 bit)
    linux-image-...i386.deb (or linux-image-...amd64.deb for 64 bit)

    Then just run these through Ubuntu Software Center (double click them, or right-click and select Ubuntu Software Center). Make sure you install them in this order; if you don't, Ubuntu Software Center won't let you install them.

    -----EDIT-----

    The Ubuntu kernel team seems to have started splitting the kernel into four packages now. The instructions are the same, except you'll need to install one more package at the end:
    linux-image-extra-...i386.deb (or linux-image-extra-...amd64.deb if you're using 64 bit)

    This fourth package should be installed last, after the other three.
    Last edited by GreenRaccoon; June 3rd, 2012 at 03:00 PM.

  2. #2
    Join Date
    Mar 2010
    Location
    MI, United States
    Beans
    116
    Distro
    Ubuntu 14.04 Trusty Tahr

    Thumbs down Re: How to Find and Install the Latest Stable Linux Kernel

    I've been having problems with Ubuntu Software Center (4.0.5) freezing up while installing these packages. Another way to install these is through Terminal. I'm explaining two days to do this through Terminal. If you don't put anything on your desktop, then the first method is easier and faster; if you have .deb folders on your desktop, then skip down a bit to the second method.

    For the first method, first download the packages to the Desktop ("~/Desktop"). If you download them to your "Downloads" folder ("~/Downloads"), then just open up the file manager and copy and paste it to the desktop.

    Then press "ctrl + alt + t" to open up Terminal. Change directory to the Desktop by doing this:

    Code:
    cd ~/Desktop
    Then install all of the .deb packages on the Desktop using "dpkg -i". If you have other .deb packages on the Desktop besides these 4, you should use the second method explained later.
    Code:
    sudo dpkg -i *.deb
    Done!

    Here's the second method. First, download the packages. Then press "ctrl + alt + t" to open up Terminal. Change to the place where you downloaded the packages, which is probably "~/Downloads". (Make sure "Downloads" is capitalized)

    Code:
    cd ~/Downloads
    List the ".deb" packages in this folder.
    Code:
    ls *.deb
    Then install the packages using "dpkg -i". The order is very important here! Replace the "..." with the full name: whatever "ls" showed. Alternatively, you can open up the Downloads folder (using the file manager, which is called nautilus), copy the name of the package, and paste it in Terminal. However, when pasting things into Terminal, you have to use "ctrl + shift + v" instead of "ctrl + v".
    Code:
    sudo dpkg -i linux-headers-..._all.deb linux-headers-...i386.deb linux-image-...i386.deb
    For 64 bit:
    Code:
    sudo dpkg -i linux-headers-..._all.deb linux-headers-...amd64.deb linux-image-...amd64.deb
    -----EDIT-----

    It seems that the Ubuntu kernel team has started a new system of using four .deb packages instead of just three. Just tag "linux-image-extra-...i386" or "linux-image-extra-...amd64" to the end of the command line in the Terminal. It'll look like this:
    Code:
    sudo dpkg -i linux-headers-..._all.deb linux-headers-...i386.deb linux-image-...i386.deb linux-image-extra-...i386
    For 64 bit:
    Code:
    sudo dpkg -i linux-headers-..._all.deb linux-headers-...amd64.deb linux-image-...amd64.deb linux-image-extra-...amd64
    Again, make sure you do it in this order. If "dpkg -i" doesn't work, I'm sure you can use "gdebi" instead. To do this, just replace "dpkg -i" with "gdebi".
    Last edited by GreenRaccoon; June 10th, 2012 at 08:45 PM.

  3. #3
    Join Date
    Oct 2006
    Beans
    Hidden!

    Re: How to Find and Install the Latest Stable Linux Kernel

    Quote Originally Posted by GreenRaccoon View Post
    Here's an easy how-to guide on how to find the latest mainline, stable, or longterm Linux kernel and how to upgrade to it.

    First, check out http://www.kernel.org/ to see the latest kernel that you want.

    Then, go to http://kernel.ubuntu.com/~kernel-ppa/mainline/ and scroll down to the one you found on the other site.

    Open up the link, then download:
    linux-headers-..._all.deb
    linux-headers-...i386.deb (or linux-headers-...amd64.deb if you're using 64 bit)
    linux-image-...i386.deb (or linux-image-...amd64.deb for 64 bit)

    Then just run these through Ubuntu Software Manager.
    I have downloaded the files but cannot figure out how to use the Ubuntu software Manager to install. Please provide info. I guess my brain quit functioning.
    NAH40

  4. #4
    Join Date
    Mar 2010
    Location
    MI, United States
    Beans
    116
    Distro
    Ubuntu 14.04 Trusty Tahr

    Thumbs down Re: How to Find and Install the Latest Stable Linux Kernel

    Quote Originally Posted by nah40 View Post
    I have downloaded the files but cannot figure out how to use the Ubuntu software Manager to install. Please provide info. I guess my brain quit functioning.
    My Ubuntu Software Center likes to freeze while installing non-supported packages too. Have you tried installing them through Terminal? That's worked much better for me. The tutorial to do that is a couple comments up.

  5. #5
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: How to Find and Install the Latest Stable Linux Kernel

    Quote Originally Posted by nah40 View Post
    I have downloaded the files but cannot figure out how to use the Ubuntu software Manager to install. Please provide info. I guess my brain quit functioning.
    If it doesn't freeze, right click on package -> Ubuntu Software Centre

  6. #6
    Join Date
    Mar 2010
    Location
    MI, United States
    Beans
    116
    Distro
    Ubuntu 14.04 Trusty Tahr

    Thumbs down Re: How to Find and Install the Latest Stable Linux Kernel

    Quote Originally Posted by MG&TL View Post
    If it doesn't freeze, right click on package -> Ubuntu Software Centre
    Thanks, MG&TL. I think I misread his (or her) comment.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •