LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-12-2013, 03:29 AM   #1
Arjun
Member
 
Registered: Feb 2011
Posts: 120
Blog Entries: 2

Rep: Reputation: 0
Linux Kernel Update


I have one questions.

Suppose, i running kernel 2012 & i want to update it to 2013. So do i need to run this command to update the kernel

apt-get update
or
apt-get upgrade

Or do i have to wait for the linux distribution provider to update the distribution version ?

Thanks
 
Old 02-12-2013, 04:29 AM   #2
d3vrandom
Member
 
Registered: Jun 2006
Location: Karachi, Pakistan
Distribution: OpenSUSE, CentOS, Debian
Posts: 59

Rep: Reputation: 9
Yeah you have to wait for the distribution vendor to update the kernel if you want to maintain it using the distro's package manager. If not you can always compile the kernel from source. What distribution are you using and why do you want to update the kernel?
 
Old 02-12-2013, 08:11 AM   #3
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,210

Rep: Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186
The commands you have listed will not upgrade the kernel on most Debian based distros. What distro are you using, and why do you want/need a newer kernel?

Anyway, the correct commands for Debian, Ubuntu, Mint, etc. are:

Code:
sudo apt-get update
sudo apt-get dist-upgrade
This will give you the latest stable kernel that has been tested for your specific release.
 
Old 02-13-2013, 01:06 AM   #4
Arjun
Member
 
Registered: Feb 2011
Posts: 120
Blog Entries: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by snowpine View Post
The commands you have listed will not upgrade the kernel on most Debian based distros. What distro are you using, and why do you want/need a newer kernel?

Anyway, the correct commands for Debian, Ubuntu, Mint, etc. are:

Code:
sudo apt-get update
sudo apt-get dist-upgrade
This will give you the latest stable kernel that has been tested for your specific release.
Just for updation, i thought kernel should be updated.

I will check it out these commands.

Thanks for your reply.
 
  


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
[SOLVED] How to update Linux Kernel? infoslaw Linux - Newbie 16 02-28-2012 08:50 AM
how to Update a LINUX KERNEL shirazanjum Linux - Enterprise 14 10-22-2007 11:53 AM
Latest Suse "YOU" update....Linux Kernel Update Failed Balarabay1 SUSE / openSUSE 10 06-11-2006 09:07 PM
linux kernel update erikm103 Linux - Software 2 03-09-2003 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:21 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