Ubuntu Linux: Upgrade Linux Kernel

by on October 18, 2007 · 6 comments· LAST UPDATED October 18, 2007

in , ,

Q. How do I upgrade my Linux kernel version under Ubuntu Linux 7.04 / 7.10?

A. You can use any one of the following method:
(a) Command Line Tools - apt-get

(b) GUI tool

apt-get command - Upgrade Linux Kernel

Open terminal and type the following commands:
$ sudo apt-get update
Now search kernel version:
$ apt-cache search kernel-image
Now install kernel by explicitly specifying version number:
$ sudo apt-get install linux-image-2.6.xx-yy-generic
Replace xx.yy with kernel version number. Reboot the system.

GUI tools

This is recommended method for most user. Click on System > Administration > Update Manager > Click on Check button > Apply all updates including kernel.

Tweet itFacebook itG+ itDownload PDF versionFound an error/typo on this page?

{ 6 comments… read them below or add one }

1 ramdhan February 26, 2009 at 12:16 pm

i have ubuntu 8.10 linux but when i want to install redhat linux 5 than an error occur
“timer not connected ‘nopic error’ ” so whan search on net than i get soluation is update my karnal now i have new karnal but i dont’ know how can i install my new karnal with ubauntu linux


2 silas April 16, 2011 at 5:58 am

when i try to upgrade my kernel i get the following errors:T5254:~$ apt-cache search kernel-image
comedi-source – Comedi kernel module source
T5254:~$ sudo apt-get install linux-image-
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package linux-image-
E: Couldn’t find any package by regex ‘linux-image-’


3 Chi77 June 22, 2011 at 9:29 am

Silas, do apt-cache search linux-image and pick the one from the returned list.


4 Silas August 4, 2011 at 10:10 pm

Thanks for helping a Noon out.


5 Jerry July 1, 2011 at 10:18 pm

I would like to upgrade my 2.6.10 kernel to something newer mainly because there was no driver support for my Claro modem until kernel 2.6.20, as i understand. My problem with apt-get is that it assumes you have an internet connection. I have tried to manually download the package using my Windows connection, and then pointing to that package on my local hard disk through /etc/apt/search.list. But when apt-get reads the package, the package apparently points back to more on-line files to use for information or something.

Am i completely clueless as to how this is supposed to work? This seems almost as senseless as the Claro people telling me to download drivers from the web for my non-functioning modem.


6 Somename August 4, 2011 at 10:40 am


dpkg -i /location/of/package.deb


Leave a Comment

Tagged as: , , , , , , , , , , ,

Previous Faq:

Next Faq: