LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-04-2020, 07:57 AM   #1
Arct1c_f0x
Member
 
Registered: Feb 2020
Posts: 123

Rep: Reputation: 24
Question Why upgrade the Linux Kernel?


I use Debian Buster, Kali, and Ubuntu.

I've been upgrading my Debian Kernel versions to 5.6 and everything's working fine.

But I realize that I just upgraded them without knowing specifically why doing so would help my systems...


So now I'm asking all of you that question here in this thread:

Why should you upgrade your Linux Kernel?


If I used any incorrect terminology in this thread please correct me. The reason I'm posting this thread is because I just want to learn more and expand my knowledge of how these systems work.


Thanks in advance for your time and info!
 
Old 08-04-2020, 08:07 AM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,421
Blog Entries: 7

Rep: Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535
Why upgrade the Linux Kernel?

The biggest reason nowadays would be for hardware support.

Other than that, there probably isn't much reason to upgrade a decently running kernel. In fact, you probably wouldn't do it without good reason. The systems you're using are quite complicated and easy to break, so I'd avoid it.

In simpler times, we'd do it for sport... but those days are long gone.
 
1 members found this post helpful.
Old 08-04-2020, 08:09 AM   #3
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,125

Rep: Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260
Here's the changes summarized:

https://kernelnewbies.org/Linux_5.6

Last edited by smallpond; 08-04-2020 at 08:10 AM. Reason: Not enough coffee
 
Old 08-04-2020, 12:10 PM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,131

Rep: Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302
I always work on the principle of taking what I've given — I suspect the distro's developers know more that I do! If a distro offers a new kernel as an update I obviously accept it, but I've never sought out a new kernel for myself. Now I'm using a rolling-release distro, I get a regular flow of them!
 
2 members found this post helpful.
Old 08-04-2020, 12:16 PM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,686

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
That is interesting. You use Kali, so you need to know what does vulnerability mean. Usually we upgrade kernel when an improvement, a patch or a bugfix is released.
 
2 members found this post helpful.
Old 08-04-2020, 04:58 PM   #6
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,572

Rep: Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533Reputation: 2533
Quote:
Originally Posted by Arct1c_f0x View Post
The reason I'm posting this thread is because I just want to learn more and expand my knowledge of how these systems work.
A good way to learn things is to search, then read the results.

The search on LQ is terrible, but it does work sometimes - "upgrade linux kernel" brought up the thread from a couple of weeks back where this topic was discussed:

https://www.linuxquestions.org/quest...el-4175678507/

 
Old 08-04-2020, 08:45 PM   #7
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,708

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
+1 #4
Running CentOS 7. Get kernel updates every 4-6 weeks. Test on my home desktop, then apply to the production box.
 
Old 08-05-2020, 02:43 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by DavidMcCann View Post
I always work on the principle of taking what I'm given — I suspect the distro's developers know more than I do!
I fixed two typos, I think?
If that is what you meant, I'm fully behind you.

There's also the LTS kernel, most distros have it in their repos, many by default.
 
Old 08-05-2020, 02:48 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,937

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Kernel contributors work on many if not every aspect of a kernel code and they do it for a number of reasons.

One is security issues.

Another is as above, hardware support.

Now there are also improvements to every aspect of the OS from how it performs using file systems to graphics and memory and so on and so on.
You normally want security and speed/stability improvements even if you don't require hardware improvements.

Last edited by jefro; 08-06-2020 at 02:55 PM.
 
Old 08-06-2020, 03:09 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by jefro View Post
Now there is also improvements to every aspect of the OS from how it performs using file systems to graphics and memory and so on and so on.
You normally want security and speed/stability improvements even if you don't require hardware improvements.
I guess the LTS kernel is a step in that direction.

Any OS will evtl. loose functionality if the underlying kernel never gets updated. It just takes longer than with other parts of the system.
 
Old 08-06-2020, 02:58 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,937

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
I think it helps for folks to understand what a kernel update is. While one can look at kernel.org for all changes you may not get those in a distro kernel.
Anyone who wants to know what is in an update ought to review the errata and changes for each kernel. They might be impressed at all the changes that go into them.
 
  


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: Linux Kernel 3.19 Has Reached To End With Last Release Kernel 3.19.8, Install/Upgrade Kernel 3 LXer Syndicated Linux News 0 05-15-2015 12:03 AM
how to upgrade the Debian 3 kernel 2.4.18 to kernel 2.6 or bigmem- kernel chandu.bezawada Debian 6 11-12-2010 09:33 AM
why why why? mrlucio79 Debian 12 02-13-2006 03:52 PM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
Cheops, Mandrake, and wondering why why why? DuMBDuMBSTooPiD Linux - Newbie 3 08-27-2004 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:51 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
Open Source Consulting | Domain Registration