LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


View Poll Results: Do You Compile Your Own Kernel or Use The One Shipped With Your Distribution?
I compile my own kernel (official tree) 51 17.47%
I compile my own kernel (other tree) 6 2.05%
I use the kernel shipped with my distribution 223 76.37%
Other 12 4.11%
Voters: 292. You may not vote on this poll

Reply
  Search this Thread
Old 08-29-2016, 12:16 PM   #16
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Rep: Reputation: 36

In gentoo it is rather mandatory, so kernel compilation it is...
 
Old 08-29-2016, 02:02 PM   #17
carl@helmers.com
LQ Newbie
 
Registered: Feb 2007
Location: Rochester NY area...
Distribution: just loaded Fedora, over Ubuntu, have an old Dell Red Hat laptop
Posts: 4

Rep: Reputation: 0
Q: do-you-compile-your-own-kernel-or-use-the-one-shipped-with-your-distribution?

Since getting into Linux for personal use, I have never had the desire
--ever-- to compile the O.S. or any significant parts of the system.

I have been using Linux exclusively since since about 2006
when Libre Office (formerly Open Office) tools finally crossed a
usability threshold above the Microsoft XP equivalents of that era.
My first Linux was in the 1995(?) era when Red Hat and a bunch of
long forgotten distros came onto my radar screen sans useful (mostly)
bug-free applications.

I have been using computers since a first punch card Fortran II
course as a high school senior in NJ circa 1965-1966 in an after
hours AP Math course using an IBM 1400 series card input/tape
compiler mainframe at a local pharmaceutical / chemicals company.
IBM BAL, Fortran Cobol and PL/I helped pay college bills for a
1970 BS Physics from the University of Rochester.

Carl Helmers, original editor & co owner of BYTE Magazine, 1975-1980,
founder and owner of three subsequent high tech specialized dead tree
magazines 1980-2006 through my Helmers Publishing, Inc. in Peterborough N.H.

See www.helmers.com for various recent articles and comments...

Last edited by carl@helmers.com; 08-29-2016 at 02:21 PM.
 
Old 08-29-2016, 02:35 PM   #18
will_kranz
Member
 
Registered: Nov 2004
Location: NH/CT
Distribution: Slackware 10 to 14
Posts: 52

Rep: Reputation: 0
Its been close to 10 years since I believe I compiled one, the distro version normally works for my needs these days. I had a collection of Fishtank Macs back in the day and when playing with the appletalk network I did some custom builds to get them to talk to my linux box.
 
Old 08-29-2016, 02:35 PM   #19
shabang
LQ Newbie
 
Registered: Aug 2016
Posts: 7

Rep: Reputation: Disabled
The only time I compiled a kernel is when using crux linux. For other linux distros, I use the kernel supplied or upgrade the kernel from the repos.

Last edited by shabang; 08-29-2016 at 03:13 PM.
 
Old 08-29-2016, 02:58 PM   #20
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
I used to compile every kernel from source, sometimes from unofficial branches, or with hand-picked patch sets. Eventually, the distro kernel maintainers (for Debian/Ubuntu, Fedora, Gentoo, Slackware, etc.) collectively got to the point where the patches I wanted were included by default, and the features and drivers I cared about were either compiled in or compiled as modules and included with the initrd, as appropriate. For me, the need to compile it, myself, became deprecated, because those who were packaging for the distros got so good at their jobs. Even realtime kernel packages have gotten to the point where I don't need to DIY, when I need a RT kernel for something. Even better, if a module isn't included by default, it's usually available in its own package, so I can use apt or another package manager to fetch it, compile it into the initrd, and insert it (or add it do /etc/modules); no fuss, no muss.

Kudos, guys.
 
1 members found this post helpful.
Old 08-29-2016, 03:51 PM   #21
wolsonjr
Member
 
Registered: Aug 2007
Location: IL/US
Distribution: Deb, Mint, Slack, LFS, Fedora, Ubuntu(LXDE)
Posts: 71

Rep: Reputation: 34
used to compile

It's been a number of years since I last compiled a kernel and since I do so many different things on my box I have little desire any more to optimize for any specific purpose.
 
Old 08-29-2016, 03:55 PM   #22
wolsonjr
Member
 
Registered: Aug 2007
Location: IL/US
Distribution: Deb, Mint, Slack, LFS, Fedora, Ubuntu(LXDE)
Posts: 71

Rep: Reputation: 34
ah yes....

Quote:
Originally Posted by carl@helmers.com View Post
Q: do-you-compile-your-own-kernel-or-use-the-one-shipped-with-your-distribution?

Since getting into Linux for personal use, I have never had the desire
--ever-- to compile the O.S. or any significant parts of the system.

I have been using Linux exclusively since since about 2006
when Libre Office (formerly Open Office) tools finally crossed a
usability threshold above the Microsoft XP equivalents of that era.
My first Linux was in the 1995(?) era when Red Hat and a bunch of
long forgotten distros came onto my radar screen sans useful (mostly)
bug-free applications.

I have been using computers since a first punch card Fortran II
course as a high school senior in NJ circa 1965-1966 in an after
hours AP Math course using an IBM 1400 series card input/tape
compiler mainframe at a local pharmaceutical / chemicals company.
IBM BAL, Fortran Cobol and PL/I helped pay college bills for a
1970 BS Physics from the University of Rochester.

Carl Helmers, original editor & co owner of BYTE Magazine, 1975-1980,
founder and owner of three subsequent high tech specialized dead tree
magazines 1980-2006 through my Helmers Publishing, Inc. in Peterborough N.H.

See www.helmers.com for various recent articles and comments...
BYTE! That brings back some fond memories.
 
Old 08-29-2016, 05:32 PM   #23
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,971

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
I used to compile my own, but that was ages ago. Now days, unless I have a specific need I stick with the kernel as supplied by the distribution. In my case this is Slackware. I use the provided generic kernel and create a initrd to boot with.
 
Old 08-29-2016, 06:01 PM   #24
efalat
LQ Newbie
 
Registered: May 2009
Location: Connecticut
Distribution: Lunar/Gentoo/Source Mage/OpenSUSE/Debian/Salix/Lubuntu/Arch/Fedora/Pclinux/coreplus/SliTaz/Centos/
Posts: 3

Rep: Reputation: 0
Usually between Thanksgiving and Christmas I compile my own on just to see if I can do better than the one that was pre-compiled. It's definitely not as easy as it used to be. I also try to compile a newer 3.x kernel on my old 486 (but not on that machine) at that time of year.
 
Old 08-29-2016, 06:16 PM   #25
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I compile my own kernel by habit, to fine tune it and avoid a bunch of installed modules I will never use.
Also as I have efi hardware, I enable EFI stub support and Built-in kernel command line. This way I don't need a bootloader anymore.
 
Old 08-29-2016, 06:22 PM   #26
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
I use LFS so gotta roll my own, but from selecting a menu item in grub to geting a login prompt takes just under 12 seconds, so I don't mind building it all from scratch, I use a full custom desktop.
 
Old 08-29-2016, 06:29 PM   #27
G13man
Member
 
Registered: Jan 2008
Location: baltimore md usa
Distribution: 12.04.2 have had rh9.0 checking now ,dsl,ubuntu, pclos, smoothwall3,fedora,mandravia,
Posts: 53

Rep: Reputation: 24
to busy cussing at the way programmers and web searches go in circle and do nothing rather then wasting time to compile something that already works . dumping mint now to go back to ubuntu 12.o4 LTS,, if only Linux had been around 10 years earlier , i could have learned it , instead of DOS commands ..now migraines and loss of memory handicap me
 
Old 08-29-2016, 09:29 PM   #28
coltree
Member
 
Registered: Nov 2003
Location: Jacobs Well, Queensland AU
Distribution: OpenBSD
Posts: 102
Blog Entries: 1

Rep: Reputation: 34
today

I loaded Crux for the exercise. Haven't used it for years, thought it might be fun to play with the nuts and bolts.
For years I have used the supplied kernel, but today I compile, like riding a push bike, just jump back on.
There's a load of new options, modules, etc. Compiled, installed, booted, no wucking forries.
 
Old 08-29-2016, 09:35 PM   #29
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I compiled my own kernel once, working from an article in Linux Voice, for the experience. I was using Ubuntu in a VM, because the article used Ubuntu as a for instance.

Other than that, I've never had the desire to compile my own kernel and not run into a situation in which the stock kernel of whatever distro I was using seem to cause any issues.
 
Old 08-29-2016, 11:36 PM   #30
brashley46
Member
 
Registered: Oct 2005
Location: Toronto, ON
Distribution: Xubuntu 17.10, Android 5.0.2, Android 7.1.1, Trisquel 7.0 Mini
Posts: 86

Rep: Reputation: 28
Like your proverbial Ubuntu user, I have never compiled a kernel and would do so only with trepidation. That said I just last week installed Trisquel Mini on my old netbook and might at some point try my hand at that ... it came with a 3.x kernel and I know when I ran Linux Mint on it it had no problems with the 4.x series.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
change the shipped kernel on a Live CD scmbg Linux - Kernel 1 10-31-2008 12:28 AM
cannot re-compile fedora8 distribution kernel bjharker Fedora 1 09-19-2008 08:54 PM
Compile Wine to be distribution independent ? Dark Carnival Linux - Software 0 11-28-2007 04:38 AM
sound driver shipped in kernel, not listed in xconfig reetep Linux - General 4 01-29-2004 03:25 PM
Slackware 8.1 shipped? lto Slackware 7 07-15-2002 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:54 PM.

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