LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2014, 06:23 AM   #1
gokulk16
LQ Newbie
 
Registered: Aug 2014
Posts: 1

Rep: Reputation: Disabled
how to upgrade my kernel(Ubuntu)?


The command $ apt-cache search linux-image is showing me many kernel versions installed my machine.why is it? Why so many?
 
Old 08-23-2014, 07:07 AM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 1,797

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
apt-cache

That command has NOTHING to do with what is on your machine, it tells you what files containing 'linux-image' in the name or description are available in the repositories you use. (Or were, the last time you did an 'apt-get update', as it is reading out of the cache on your local machine.)

They are many because they include the original default kernel, any updated kernels, and the special kernels (patched for XEN, with or without Real Time patches, etc.). Generally, only one or two will be installed on your machine, but the others are AVAILABLE to install.

For a list of what is INSTALLED, use on of the gui tools (aptitude or synaptic, for example) or use dpkg to list installed software packages containing the 'linux-image' string. or for a very quick, just 'ls /boot/v*' to see the actual kernel files. Run 'uname-a' for an indicator of which is currently loaded and running.

Last edited by wpeckham; 08-23-2014 at 07:08 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Kernel Vulnerability in Ubuntu 11.10. Upgrade Now! LXer Syndicated Linux News 0 11-22-2011 11:00 AM
[SOLVED] how to upgrade to new kernel in ubuntu danibhai Linux - Newbie 13 09-30-2011 10:52 AM
How to remove Ubuntu 7.10 kernel after upgrade to 8/04 HolyJoe Linux - Newbie 6 05-10-2008 07:10 AM
LXer: Upgrade Your Ubuntu Kernel LXer Syndicated Linux News 0 12-04-2007 09:50 PM
Is it possible to upgrade to a pristine kernel in ubuntu 6.06? sleekmason Linux - Kernel 6 09-29-2006 11:23 AM


All times are GMT -5. The time now is 02:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration