Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

As of today, there are many Linux distributions like Ubuntu, Fedora, Gentoo, Mint, Debian, etc. These distributions update at different cycles. Ubuntu seems to update its kernel weekly or monthly, while Debian is reluctant to update the kernel.

I am wondering whether these distributions maintain their own kernels. Or do they just get the original kernel code from Linus Torvalds, modify it a little bit as need, and then release their revised kernel with their package management system?

Do all the distributions use the same kernels from Linus Torvalds? If it is the case, why do different distributions update/release their kernels at the different cycles?

share|improve this question

2 Answers 2

up vote 17 down vote accepted

The distro kernels are all compiled from the official source, with distro specific patches applied. These patches are relatively minor compared to the scope of the kernel itself. As long as you know what you are doing, you can substitute a custom kernel into any of the mainstream distros, although this is discouraged since it may cause a mismatch with system header files; for that reason the distros usually release a kernel source package of their own so you can use that instead of the "vanilla" (official, unpatched) source if you want to compile it yourself.

why different distributions update/release their kernels at the different cycles

For the same reason they release all the other software at different cycles -- to ensure everything works properly with everything else. Different distros have different policies and goals in this regard. They may hurry to get a package out as soon as the upstream source is updated, they may maintain "testing" and "stable" streams, and they may use an independent schedule.

share|improve this answer
    
"everything is simpatico with everything else" is this an American way of saying? The word simpatico there doesn't really fit. Did you mean "everything goes along/fits well/matches with everything else", or something like that? –  Bakuriu Jul 4 at 21:26
    
@Bakuriu, "simpatico" is Italian, though this may be an English saying I've never heard. I forget what it means (took Italian about 5 years ago), but from context here, I take it to mean "compatible". It is cognate with the English word "sympathetic", so it fits, as sympathetic means "knowing the feelings of", "understanding". –  trysis Jul 4 at 23:22
    
@trysis I am Italian. Simpatico is a false friend with sympathetic. It means likable/pleasing/enjoyable/funny. The translation for symmpathetic would be comprensivo. In that sentence it would be probably better to say "everything is compatible with everything else", but simpatico does not carry such a meaning. –  Bakuriu Jul 5 at 7:38
1  
@Bakuriu and trysis. Just to clear things up, simpatico can also mean compatible in English and it is indeed cognate with sympathetic (that does not mean they have the same meaning). In any case, please use a dictionary rather than the comments for this kind of thing :). –  terdon Jul 5 at 9:18
    
@Bakuiru Yes to the questions in your first comment; the proper use is more WRT human subjects, meaning "amiable to", "in agreement", but it's usable with objects too as in "everything is simpatico" = "everything is correct". I'll change that for clarity though -- I think I was tired and that was just the first word that came to mind. –  goldilocks Jul 5 at 15:29

First of all, nobody "gets the kernel from Linus". Yes, Linus is still actively involved in the kernel's development and has final say in any disputes but he most certainly does not write it alone! The wikipedia page on the Linux kernel is quite good on the subject:

The kernel changes made in year 2007 have been submitted by no less than 1900 developers – but there may be a lot more because developers working in teams usually count as one. It is generally assumed that the community of Linux kernel developers is composed by 5000 or 6000 members. As of 2013, the 3.10 release of the Linux kernel had 15,803,499 lines of code; without a smart project management it would not be possible to keep such scale of development up and going.

Instead of a roadmap, there are technical guidelines. Instead of a central resource allocation, there are persons and companies who all have a stake in the further development of the Linux kernel, quite independently from one another:

People like Linus Torvalds and I don’t plan the kernel evolution. We don’t sit there and think up the roadmap for the next two years, then assign resources to the various new features. That’s because we don’t have any resources. The resources are all owned by the various corporations who use and contribute to Linux, as well as by the various independent contributors out there. It’s those people who own the resources who decide...

—Andrew Morton, 2005

Now, yes, most distributions maintain their own slightly different kernels. The stock kernel can be downloaded from http://kernel.org but each distribution will tweak it to suit their needs. Some change it more and others less, I'm sure some don't change it at all.

As for the update cycle that is simply a choice the distributions make, they can update as often or as rarely as they like. Distributions like Debian that aim for rock solid stability, update rarely while those that like to be on the cutting edge like Arch, update often.

share|improve this answer
    
Indeed. Linus cannot finish all the kernel code by himself. I see this. –  Zachary Jul 4 at 12:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.