Saturday, December 21, 2013

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

How to update kernel to the latest version without any Distro upgrade?
If you're running an older or an LTS Ubuntu distro, then there is a chance that you have an older kernel.
There is a way to get the "latest" kernel, but it's risky and there is no guaranty that it will always work, so before doing ANYTHING to the kernel, always backup everything important to you. OK, enough talk, lets get down to business.
The simplest way  I always use for kernel upgrade and/or downgrade are by ubuntuforums.org user by the name of lykwydchykyn:

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

2. Download 3 or 4 (it depends) .deb files to a folder on your PC that look like this:

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 it's available, if not, just skip it)

3. Install the .deb files with whatever package manager front-end you use, or use these commands:

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

4. Don't close terminal, you are not done yet. Run this commands:

sudo update-grub
sudo reboot now

0 comments:

Post a Comment