|
|
Subscribe / Log in / New account

How much GNU is there in GNU/Linux?

Pedro Côrte-Real has posted the results of an investigation into the provenance of the code making up a Linux distribution. "Figure 1 shows the total LOC in Ubuntu natty split by the major projects that produce it. By this metric GNU software is about 8%. I didn’t include GNOME in the GNU category because it seems to now be effectively run outside GNU but including that the total for GNU would be around 13%. I found two things to be really surprising in this chart. The first is that the kernel is actually comparable in size to all the GNU software. The second is that small projects actually dominate the total amount. It seems that at least for what Ubuntu packages, the origin of the software is highly dispersed."

to post comments

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 4:39 UTC (Wed) by mikankun (guest, #74785) [Link] (53 responses)

Remove the GNU C library and then report how much of that software runs.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 4:53 UTC (Wed) by flewellyn (subscriber, #5047) [Link] (7 responses)

Well, certainly true.

It's not the amount of the code contributed to GNU/Linux by GNU that is really the point. It's the centrality of that code in making a working system. Sure, if not for GNU, others could have created a free userland, and others in the BSD world did. But the GNU system is what Linux uses for a userland in most common configurations, so...

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 8:23 UTC (Wed) by mingo (guest, #31122) [Link] (6 responses)

Remove the BIOS and see whether your system will boot at all.

Remove the CPU microcode and see whether your BIOS will run at all.

Do we get to call it Intel/BIOS/GNU/Linux now?

I think the GNU/ prefix, based on just 8% code contribution, has become largely moot by today. If people want to say "Linux/GNU" then they can do that, but trying to *insist* on the "GNU/Linux" naming based on the rather strained argument that's still all super-important GNU code and the rest is just details is somewhat pathetic.

If the GNU projects wants to gain larger relevance it should contribute more *code* and should be a friendly platform for contributors, instead of aggressively trying to language-lawyer themselves into the naming of other projects ...

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:27 UTC (Wed) by realnc (guest, #60393) [Link] (4 responses)

Same goes for the kernel. Based on just 8% code contribution, "Linux" has become largely moot by today. ;-)

Different people have a different biases.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 10:20 UTC (Wed) by mingo (guest, #31122) [Link] (1 responses)

Of course that's true - with the rather crutial difference that we do not insist on calling it "Linux"! :-)

I never ever corrected anyone to say "Linux/Ubuntu" instead of just "Ubuntu", or to say "Linux/Android" instead of just "Android".

This whole GNU/Linux naming crusade is just that: a crusade, trying to force things on others. You need to stop 'correcting' people when they say Android, Ubuntu or Linux, that they should say "GNU/".

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 22:43 UTC (Wed) by jmalcolm (subscriber, #8876) [Link]

You nailed it.

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 1:05 UTC (Thu) by chad.netzer (subscriber, #4257) [Link] (1 responses)

Linux is just a cool name. I'd say roughly 40% of Linux's early success at attracting interested people was based on name alone. :)

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 6:36 UTC (Thu) by mingo (guest, #31122) [Link]

For a long time i shared your exact sentiment (i'd even place the 'pure luck' and 'good naming' proportion much higher than 40%), but then i had to admit that the phenomenal success of the "Git" project is somewhat of an outlier! :-)

So a proper, scalable development model (and, of course, good timing) matters a lot and can offset a bad name.

But yeah, i definitely agree that the "Freux" or "Freax" name would probably have been somewhat of an embarrassment with time, especially for desktop and business users.

(Just like dropping the cool minerals naming scheme (Beryl, Emerald, etc.) and going back to the dry and uninspiring "Compiz" name [for pure ego reasons!] was a disaster for that project, in terms of developer interest and growth.)

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 14:48 UTC (Wed) by nye (subscriber, #51576) [Link]

>I think the GNU/ prefix, based on just 8% code contribution, has become largely moot by today.

Hmm, if anything I'd say it's *more* relevant today, thanks to the existance of viable *non-GNU* Linuxes, with Android being the most prominent example.

(There was something else I was reading about a week or two back where I was like 'Stop calling it GNU/Linux! There's no GNU in it'. Can't think what it was though. Maybe it was Android-based after all.)

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 4:59 UTC (Wed) by ldo (guest, #40946) [Link] (20 responses)

Remove the kernel and then report how much of that software runs.

Points scored based on who can hold who to ransom, anybody?

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 5:04 UTC (Wed) by pranith (subscriber, #53092) [Link] (2 responses)

remove gcc and see how much of that kernel compiles...

wait clang actually compiles the linux kernel http://lwn.net/Articles/411654/

It's not the point...

Posted Jun 1, 2011 6:54 UTC (Wed) by khim (subscriber, #9252) [Link]

Of course there are alternatives! There are different version of libc, too. And we had operation systems before GNU and Linux come on the scene. But the fact still remains that Linux and GNU shape the rest of the OS.

In fact recent developments (android, clang, etc) make the point more acute, not less. 10 years ago name "GNU/Linux" was pointless nitpicking, today it's a way to distinguish numberous non-GNU Linuxes from GNU/Linux descendants.

Remove the GNU C library and then report how much of that software runs.

Posted Jun 3, 2011 16:08 UTC (Fri) by dmag (guest, #17775) [Link]

TCC did that years ago.

http://bellard.org/tcc/tccboot.html

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 5:20 UTC (Wed) by mikankun (guest, #74785) [Link]

Both are equally important hence why I agree with Stallman in saying GNU/Linux.

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 6:40 UTC (Wed) by berto (subscriber, #58604) [Link] (12 responses)

> Remove the kernel and then report how much of that software runs.

Quite a lot, apparently: http://www.debian.org/ports/kfreebsd-gnu/

Anyway, Stallman's point is not that the GNU project wrote most of the software, but that all of it was written (and selected) with the sole purpose of creating a free operating system:

"Many other people and projects have contributed code to the system, and some of this code is just as vital as anything the GNU Project wrote. But the GNU Project did one other crucial thing which no one else did: we made a complete free operating system our explicit goal."

http://lkml.org/lkml/1999/4/6/13

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 7:04 UTC (Wed) by blaa (guest, #75321) [Link] (9 responses)

Fact is, GNU did not produce a working operating system.
If I set out to swim the English Channel, and get to within sight of the other coast before I drown, then I have not swum the English Channel. I hope this is clear.
Linux is not, never has been, and it is unlikely that it will ever be GNU software.
As the great man said, go write your own kernel, and then you get naming rights.

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 7:31 UTC (Wed) by berto (subscriber, #58604) [Link] (2 responses)

> If I set out to swim the English Channel, and get to within sight of the other coast before I drown, then I have not swum the English Channel

And neither Magellan completed any trip around the globe, yet that didn't prevent him from getting credit as the leader of the expedition.

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 9:50 UTC (Wed) by fandom (subscriber, #4028) [Link] (1 responses)

Actually, the one who got the "tu primus circumdedisti me"* motto was Elcano

*The first one who surrounded me

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 11:00 UTC (Wed) by berto (subscriber, #58604) [Link]

Yes, Elcano was awarded for circumnavigating the globe, and rightfully so.

But no one denies Magellan's legacy just because he didn't complete the expedition.

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 13:00 UTC (Wed) by Zack (guest, #37335) [Link] (3 responses)

>Fact is, GNU did not produce a working operating system.

Bar some extreme application of the NIH symdrome, they actually did. I should know, I'm using it right now.

GNU is about producing an operating system comprised of free software. If someone else writes a piece of that, even if they care not about producing a fully free operating system themselves, if the license is right, GNU can use it.

For me, the most important thing about my operating system is that it's free software, so I call it GNU; it's important to me to emphasize that aspect. The linux kernel is certainly an impressive and well engineered piece of software, but the values it emphasises are not of primary importance to me. Fortunately the license makes it free software, so I can use with my GNU system.

You can call the system whatever you like, whereas I will refer to it as GNU or GNU/Linux, even if the amount of software that was specifically produced for GNU would be reduced to nil.

If some day all distributors/contributors would decide that the primary value of the "linux operating system" was freedom, I would call it linux too. Because it would be all that the GNU name tries to establish but more popular. But until that day, GNU will have to do.

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 14:45 UTC (Wed) by vonbrand (subscriber, #4458) [Link] (2 responses)

I guess the BSD folks will be thilled to hear that they did build the GNU system too (all free, license is right, so it's GNU, right?)...

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 15:23 UTC (Wed) by Zack (guest, #37335) [Link] (1 responses)

>I guess the BSD folks will be thilled to hear that they did build the GNU system too

They should be! If they managed to build a completely free operating system succesfully they would have no reason not to be thrilled at the completion or success of such a monumental task.

I don't think they will call it GNU though. The BSD folks also go a long way back when they set out to write a free operating system. But the set of values they wanted to achieve are different than those of the GNU project.
There is no reason, historically or otherwise, to call their operating systems "GNU", although I think most of the various forks do retain the name "BSD" in their project name.

That said, I'm sure I run various bits and pieces of BSD software on my GNU/Linux system, since, as you write, "[the] license is right."

Remove the GNU C library and then report how much of that software runs.

Posted Jun 3, 2011 14:35 UTC (Fri) by vonbrand (subscriber, #4458) [Link]

Exactly. The BSD folks won't be thrilled because they don't agree with the FSF stance.

I for one would like it better if people just agreed on thanking for (software) gifts, wherever they come from (be it public domain, TeX, X, BSD, GNU, ...), and take their political views elsewhere. In particular, please don't insist on slapping your campaign flyer on everything that comes your way.

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 13:34 UTC (Wed) by Trelane (subscriber, #56877) [Link] (1 responses)

they didn't?

Remove the GNU C library and then report how much of that software runs.

Posted Jun 2, 2011 7:06 UTC (Thu) by freddyh (guest, #21133) [Link]

They indeed did, but the mentioned quote was from years before the Hurd was finished.
I don't need to remind you of how much the Hurd was delayed in the early 90's, do I?

The point is - 'freedom'

Posted Jun 1, 2011 12:06 UTC (Wed) by candtalan (guest, #75332) [Link] (1 responses)

@berto
Yes, thank you.

In addition to a lack of an up front recognition of the Freedom ethic, the use of the word 'Linux' *only* when referring to an operating system creates an uncertainty. This is because Linux is formally the name of the kernel, not an OS. I note that we do not really have a generic name for a Linux based Operating System in its own right except perhaps 'GNU/Linux', or a brand name such as Ubuntu, Fedora, etc.

Opposition to Linux based OS use comes in many forms, including well funded 'FUD'. Fear Uncertainly and Doubt. By unwittingly underwriting Uncertainty in the Linux using culture we do ourselves a dis service.

The point is - 'freedom'

Posted Jun 1, 2011 12:59 UTC (Wed) by daniels (subscriber, #16193) [Link]

> In addition to a lack of an up front recognition of the Freedom ethic, the use of the word 'Linux' *only*

Maybe because people are discussing an operating system rather than an ethic which some hold to be the most important thing, and others less so?

> when referring to an operating system creates an uncertainty.

It's not an uncertainty that really has any practical effect. For example, I'm unsure whether GNU/Linux refers to a system running sysvinit, upstart, or systemd? Does it run X or not? What about GNOME, KDE, other (GNUstep)?

If people are referring to Android, they're pretty good at calling it Android. The people running uclibc and other exotic userlands are such a niche that it is not in any way a useful distinction to go out of your way to make.

Note here when I say 'useful distinction', I mean in purely technical terms; it's apparently a useful distinction for an organisation seeking to hang on to their relevance by piggybacking on the work of others who do not necessarily share their goals.

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 6:53 UTC (Wed) by mti (subscriber, #5390) [Link] (1 responses)

Remove all closed source software integrated in the hardware (BIOS, microcode, firmware, ...) and see how much works;-)

Not sure what I'm trying to say.

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 8:18 UTC (Wed) by jengelh (guest, #33263) [Link]

Remove closed hardware and see h... oh bugger!

Remove the GNU C library and then report how much of that software runs.

Posted Jun 1, 2011 12:37 UTC (Wed) by dneary (guest, #55185) [Link]

Most of the software in the list is perfectly portable to other OS kernels.

Most of the software is perfectly portable to alternative libcs.

And if it's not, it should be.

Dave.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 5:21 UTC (Wed) by dlang (guest, #313) [Link] (2 responses)

let the FSF create a GPLv4 that alienates enough developers and I'll bet that in about 6 months there will be a new libc available.

remember, even the libc development is nor primarily done by the FSF, and hasn't been for years.

we came close to finding this out with the GPLv3, but the FSF backed down and revised the drafts to make it more acceptable to people

there isn't any piece of the system that couldn't be replaced relativly quickly by something else if the developers of that piece were to go nuts (and this includes the kernel, remember that debian is shipping a BSD kernel based version)

if you look at any component of your system, someone can name a alternate piece of software to use. it may not be quite as good right now (remember, different people have different definitions of 'good'), but if there was pressure to fix it quickly the rate of improvement would be staggering.

and that's ignoring the possibility of a fork taking place (like happened with xfree86/x.org)

probably the hardest component to replace in the short term would be X, but with wayland in the wings, even that is being challenged.

it's interesting to see this type of analysis.

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 13:31 UTC (Thu) by tchernobog (guest, #73595) [Link]

Well, you could say that no code comes directly from the FSF. The GNU project and the FSF are two distinct initiatives; one technical, the other legal.

How much GNU is there in GNU/Linux?

Posted Feb 28, 2015 14:49 UTC (Sat) by vonbrand (subscriber, #4458) [Link]

No new libc, just a fork. Remember the gcc vs egcs fiasco, which ended up by renaming egcs to GCC and silently shutting down gcc. No license change that time, but a GPLv4 might force it...

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 5:21 UTC (Wed) by tetromino (guest, #33846) [Link] (9 responses)

> Remove the GNU C library and then report how much of that software runs.

FreeBSD seems to be doing an OK job running all of that software - well, other than systemd, of course - without glibc. (And without the Linux kernel too, one might add.)

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 5:39 UTC (Wed) by mikankun (guest, #74785) [Link] (4 responses)

I'm well aware but the article and my comment were about GNU/Linux and not BSD.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 5:58 UTC (Wed) by dlang (guest, #313) [Link] (3 responses)

well if you define the system as one that is built aroud GNU software you can easily say that it won' work without that software.

if however you define the system as one that runs the application software the users need, then you don't have justification for ignoring *BSD (or the various libc/compiler options)

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:43 UTC (Wed) by Pawlerson (guest, #74136) [Link] (2 responses)

"if however you define the system as one that runs the application software the users need, then you don't have justification for ignoring *BSD (or the various libc/compiler options)"

If bsd doesn't do what he expects from the usable system, he has justification for ignoring it. It seems most people aren't pleased with bsd (hence Linux is far more popular) and while article is about GNU and Linux I recommend to stick to the topic.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 13:39 UTC (Wed) by hmh (subscriber, #3838) [Link] (1 responses)

The BSD userland is horrible IMO. The kernel, not so much. It lags behind Linux when it comes down to drivers, but for what it DOES support, it is sometimes superior.

So yes, Debian GNU/kFreeBSD is actually very nice. When it works with all your hardware.

And one would have to ask people to compare Debian GNU/kFreeBSD with straight FreeBSD to know whether they prefer the GNUish/Linuxish userland or the BSDish userland, and compare Debian GNU/Linux with Debian GNU/kFreeBSD to know whether they prefer the Linux or FreeBSD kernel.

PS: "GNU/" prefix added because that's how we call these ports officially in Debian.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 14:46 UTC (Wed) by Pawlerson (guest, #74136) [Link]

"The BSD userland is horrible IMO. The kernel, not so much. It lags behind Linux when it comes down to drivers, but for what it DOES support, it is sometimes superior."

I hope you didn't mean superior to Linux, because it lags behind in many other areas today. :)

"So yes, Debian GNU/kFreeBSD is actually very nice. When it works with all your hardware."

GNU userland makes a huge difference. I prefer to use APT rather than bsd ports. Debian GNU/kFreeBSD is much more appealing than FreeBSD and there's a much newer GCC, right?

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 7:06 UTC (Wed) by khim (subscriber, #9252) [Link] (3 responses)

FreeBSD seems to be doing an OK job running all of that software - well, other than systemd, of course - without glibc.

Sorry, but this not really true. Most real FreeBSD systems include Linuxulator and glibc to run things like Acrobat Reader or Opera. And they use GLibC to do that.

This succulently shows that right now, today, GLibC is more important then kernel. Recent developments make it less relevant, though: Android does not use GLibC and supports more interesting applications, then GNU/Linux, for example. If/when tablets and desktop converge it'll be interesting to see what happens.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:06 UTC (Wed) by danieldk (subscriber, #27876) [Link]

But then Acrobat Reader is not part of Debian either, and probably a lot of Debian users will never install it. The point is that you can provide much of the functionality of a standard open source desktop or server system without glibc or even gcc.

(By the way, Opera offers a native FreeBSD version.)

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:08 UTC (Wed) by trasz (guest, #45786) [Link]

There is a native Opera for FreeBSD. I have no idea why someone would want to use Acrobat. Linuxulator is used mostly for Flash.

How much GNU is there in GNU/Linux?

Posted Jun 3, 2011 14:56 UTC (Fri) by qubit (guest, #57802) [Link]

This succulently shows that right now, today, GLibC is more important then kernel.
This must be what they mean when they talk about the juicy details...

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 5:29 UTC (Wed) by rsidd (subscriber, #2582) [Link] (8 responses)

Well, since you bring that up... Here's what Ulrich Drepper had to say about RMS, GNU and glibc, about ten years ago.

  [...] For example, permission to use the GNU C Library in non-free
  programs enables many more people to use the whole GNU operating
  system, as well as its variant, the GNU/Linux operating system.

This $&%$& demands everything to be labeled in a way which credits him
and he does not stop before making completely wrong statements like
"its variant".  I find this completely unacceptable and can assure
everybody that I consider none of the code I contributed to glibc
(which is quite a lot) to be as part of the GNU project and so a major
part of what Stallman claims credit for is simply going away.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 5:47 UTC (Wed) by mikankun (guest, #74785) [Link] (4 responses)

I understand where he's coming from but regardless if he's contributing code to glibc he's making his code part of a GNU project as the library's development was funded by the FSF for the GNU project.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 6:00 UTC (Wed) by dlang (guest, #313) [Link] (3 responses)

that is the attitude that I was thinking of

if he were to fork the code (which would basically consist of him choosing different hosting at this point, he really has run all the glibc development for a _long_ time), would you still consider that a GNU contribution?

It's very clear cut, actually...

Posted Jun 1, 2011 7:12 UTC (Wed) by khim (subscriber, #9252) [Link] (2 responses)

When you contribute to GNU you assign your copyright to FSF. As long as you do that yes, it's GNU contribution. Is it voluntary or not is good question, but it's clearly part of GNU.

If the supposed fork will stop assigning copyrights to FSF you can claim it's no longer GNU project (like happened with XEmacs). The history shows it's not easy to maintain viable full-blown fork of GNU software (it's possible to maintain set of incremental patches like EGLibC does - but this hardly can be called a separate forked project).

It's very clear cut, actually...

Posted Jun 1, 2011 13:16 UTC (Wed) by nicooo (guest, #69134) [Link] (1 responses)

GCC is a fork that has been maintained since 1997.

Sorry, but no...

Posted Jun 2, 2011 8:28 UTC (Thu) by khim (subscriber, #9252) [Link]

EGCS was an experiment in new development methodology and never tried to split from GNU. All changes were always assigned to FSF and when EGCS was renamed to GCC it still accepted FSF's (actually RMS) decisions WRT to licenses, etc.

Basically it never tried to stray away from guidance of FSF so there never was any need to fight with it. Emacs/XEmacs was such a split while xemacs is quite successful you rarely can find it installed by default.

True, association with GNU is very often a burden and the only thing it gives the project is exposure - but this is quite important for free projects...

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 6:11 UTC (Wed) by ncm (guest, #165) [Link] (2 responses)

It really makes no difference what you "consider" to be part of the GNU project. The fact is that Glibc is the software you chose to add to. All the code you wrote for it is now held under FSF's exclusive copyright, with your explicit signed approval. Glibc was then and is still unambiguously under FSF management, $&%$& or no. (Eglibc, used in Debian and offshoots, is another story; your code is in there too, and still owned by FSF, but managed by somebody else. You might feel better about working on eglibc.)

The fact is that the Linux kernel would have been useless had there not been a GNU project, already in place, to drop it wholesale into. If Linux had not come along, a newly unencumbered BSD kernel would have been adapted a year or two later, and would since have forked, and would now be managed by mostly the same people as do Linux today -- maybe Linus included. It would, then, have been a GNU/BSD system. The same names would be complaining about that, instead, with arguments of exactly equal merit.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 7:48 UTC (Wed) by rsidd (subscriber, #2582) [Link] (1 responses)

First, I am not Ulrich Drepper. I thought I made it clear that I was merely quoting him.

Second, the idea that the GNU system in 1991 was a complete Unix-like system lacking only a kernel, into which Linux could conveniently be dropped, is a myth propagated by Stallman. There is no such thing as a complete system without a kernel. GNU did contribute the C library, compiler/toolchain, and a bunch of system utilities. These things existed in, eg, /opt/gnu on Sun systems, and were very far from being a complete system. BSD contributed a bunch of other utilities. As did MIT (X), Knuth (TeX), Ousterhout (Tcl/Tk), Wall (Perl), and many, many others. Putting all of these disparate things together into a working system was a significant undertaking, that was not done until AFTER Linus published his kernel -- because A WORKING SYSTEM REQUIRES A KERNEL! Which, incidentally, the GNU project still does not have, twenty years down the line -- hence the grimace whenever they encounter Linux.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:31 UTC (Wed) by Cyberax (✭ supporter ✭, #52523) [Link]

>Second, the idea that the GNU system in 1991 was a complete Unix-like system lacking only a kernel, into which Linux could conveniently be dropped, is a myth propagated by Stallman. There is no such thing as a complete system without a kernel. GNU did contribute the C library, compiler/toolchain, and a bunch of system utilities.

"What did the Romans ever do for us?" (c) Monty Python

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:09 UTC (Wed) by rodgerd (guest, #58896) [Link]

Well, it's not Ubunutu, but my Android devices run pretty well, thanks for asking.

What exactly is being measured?

Posted Jun 1, 2011 15:46 UTC (Wed) by faramir (subscriber, #2327) [Link]

After following two links, it looks like this analysis is over the
entire Ubuntu 'main' repository. Frankly, that includes many programs
that I don't have installed on my system and I install lots of stuff.
I think it would be very interesting to see how things change if you
look at just what is included in a default install.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 5:55 UTC (Wed) by pr1268 (guest, #24648) [Link] (4 responses)

Just curious, would these percentages be noticeably different for other distros, e.g. RH/Fedora/CentOS, Debian1, [Open]SUSE, or Slackware?

1 I realize that Ubuntu is a derivative of Debian, but in seven years of existence, I suppose by now Ubuntu has started to blaze its own trail and dissociate from its parent distro (someone correct me if this isn't the case).

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 6:06 UTC (Wed) by dlang (guest, #313) [Link] (1 responses)

I would expect that for debian and Fedora the percentage of 'other' would be much higher, simply because there is so much more software in the main repository (almost none of which is part of the GNU project)

I think SUSE has more packages than were considered for Ubuntu

I would be interested to see what the slackware numbers looked like. given that it's a smaller distro (and the size of the GNU components andthe kernel are pretty much fixed) the percentage would probably be a bit higher for both GNU and the kernel.

or you could look at embedded distros, and find that the GNU contribution fades significantly (they frequently use different libc and compiler options)

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 10:11 UTC (Wed) by niner (subscriber, #26151) [Link]

openSUSE nowadays has roughly the same amount of packages as Fedora or Debian

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 7:36 UTC (Wed) by tzafrir (subscriber, #11501) [Link] (1 responses)

Ubuntu actively syncs packages with Debian. There are some diffs even in the core packages, but they are not that big. But then again, what was he checking: Ubuntu Main or Main+Universe? (I suppose that the sizes of Restricted and Multiverse are, in LOC, rather small, so they don't really matter). Main+Universe is roughly comparable to Debian's Main. I suspect (though didn't really check) that there is a higher ratio of GNU programs in the core (Ubuntu's Main) than in the peripherials.

If I'm right, you'll find a higher ration of GNU code in RHEL/Centos than in Fedora (of a "comparable generation"), and likewise in SLES compared to openSUSE (Did I get the names right?).

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 8:46 UTC (Wed) by patrick_g (subscriber, #44470) [Link]

>>>what was he checking: Ubuntu Main or Main+Universe?

Extract from the article: "I (..) am considering only the “main” repository"

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 7:12 UTC (Wed) by rilder (guest, #59804) [Link] (4 responses)

I guess Ubuntu and/or Android are even ahead by not even mentioning Linux (forget GNU/Linux which Android isn't IMO) on their main page anywhere. May be the charts are the rationale they are giving to not name it.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 7:54 UTC (Wed) by rsidd (subscriber, #2582) [Link] (3 responses)

I never noticed Ubuntu's lack of mention of Linux until now. Forget their main page, they don't even mention it on their Why is it free? page or their Open source page! What are they afraid of?

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 10:00 UTC (Wed) by danieldk (subscriber, #27876) [Link] (2 responses)

I guess two things:

1. To avoid Linux' geeky image. Don't forget that many potential users previously had bad experiences or heard about them. Linux on the desktop has an image as a tinkerer's system.

2. To elevate themselves to the 'operating system' rather than 'distribution' category (i.e. one can pick between Windows, OS X, Ubuntu, and Linux). This gives the perception of Ubuntu being a real competitor to Windows and OS X, not just another flavor of a marginal (on the desktop) operating system.

I think that from a PR-perspective this is a good thing.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 11:25 UTC (Wed) by xtifr (guest, #143) [Link]

It's working, too. I was talking to a friend of mine, a teacher, last year, and she was lamenting that her school had just shut down their Ubuntu lab, which she'd loved. A little later, she was drooling over some of the stuff my Android phone could do, but when I said something about Linux, she said, "ew!" It turns out that she had no idea that Ubuntu or Android were Linux, and her image of Linux was entirely formed from knowing a couple of ubergeeks who used xterms for almost everything.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 13:17 UTC (Wed) by candtalan (guest, #75332) [Link]

'1. To avoid Linux' geeky image. Don't forget that many potential users previously had bad experiences or heard about them. Linux on the desktop has an image as a tinkerer's system.'

Yes I hope this is the reason to avoid the 'L' word!

The 'L' word has been taken over by the FUD merchants and is a *very* effective way of getting the Linux using community to collude with the FUD!
It has taken years and still there is no succinct popular word to own a Linux based operating system!

Uncertainty about what linux really means, is it the formal name of the kernel (yes), is it an operating system (well yes, sort of...), what traditions are implied, how can libc be for PC novices (I did not actually say that....), what is a kernel anyway (well it is like this - have you got a few hours to spare?).....? It is endless.

Meanwhile, the opposition silently gloat at a vast community with a lack of marketing appreciation.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 7:27 UTC (Wed) by jch (guest, #51929) [Link] (2 responses)

We should rename the system to XFree86/Linux. After all, there's some precedent to calling an OS by the name of its window system...

--jch

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 8:53 UTC (Wed) by jordi (guest, #14325) [Link] (1 responses)

I'm sure you're aware, but it's 2011 and XFree86 is a zombie with a shotgun wound in its foot.

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 17:23 UTC (Thu) by nix (subscriber, #2304) [Link]

I didn't realise how dead it was. Most recent release 2008; ChangeLog lists a release on ?? February 2009, so presumably hasn't been touched much since then; cvsweb shows that even the 4.8.0 release notes were never completed. X server changelog last updated on Feb 1 2009. Not a single update that I can see after that date.

Zombies with shotgun wounds in their feet move more than this. This is a project with zero active developers. (I wonder what David Dawes is doing with his time, now he threw his co-developers out of the house because they wouldn't give him enough credit and discovered that when they've left the house is so very empty?)

How much GNU is there in GNU/Linux in the default install?

Posted Jun 1, 2011 8:32 UTC (Wed) by Aissen (subscriber, #59976) [Link] (13 responses)

I think an important point is left out: what about the *default* install ? The one most people will use. Because I doubt many distros install gdb,gcc by default, or KDE and Gnome.

GNU developed the catalysts which others use

Posted Jun 1, 2011 12:15 UTC (Wed) by coriordan (guest, #7544) [Link] (12 responses)

GCC and GDB are massive contributions to the system. Without them, many X.org, Linux, KDE, etc. etc. developers wouldn't have had a compiler and debugger.

GNU didn't just write the base components, it is also developed the necessary catalysts.

Even *BSD software has GNU to thank.

GNU developed the catalysts which others use

Posted Jun 1, 2011 12:55 UTC (Wed) by Aissen (subscriber, #59976) [Link] (7 responses)

I'm not denying that those tools are useful, mind you. Development tools are very important, and I agree with you they are a necessary catalyst.

But my question was about the final result, which is measurable quite easily, and that most people (read: not just developers) will use : the software in the default install.

GNU developed the catalysts which others use

Posted Jun 1, 2011 13:49 UTC (Wed) by jwakely (subscriber, #60262) [Link] (1 responses)

The default install almost certainly includes libstdc++, which is part of GCC

GNU developed the catalysts which others use

Posted Jun 2, 2011 17:16 UTC (Thu) by nix (subscriber, #2304) [Link]

OK. So we should call it Carlini/Kosnik/Wakely/Linux (including extra contributor names in strict alphabetical order as their contributions rise above a certain threshold). If we get enough contributors within a sufficiently short timespan we can watch people choke to death as they try to speak the system's name!

GNU developed the catalysts which others use

Posted Jun 1, 2011 13:52 UTC (Wed) by coriordan (guest, #7544) [Link] (4 responses)

Or another way to measure would be to look at the first X Mb worth of packages which are most commonly installed. Debian provides this info:
http://popcon.debian.org/

All values of X would be arbitrary. Maybe continue down the list for as long as the packages can fit on one CD?

Another measurement which might be even better (but is surely overly complicated) would be to use the popularity of each package as a weighting, and measure the whole list.

...but until there's a way to factor in GNU's contribution via catalysts, legal infrastructure, and organisation, all these measurements will undervalue GNU and will be jumped on and mislabelled as "empiric" by anti-GNU people (they're empiric in that they measure something repeatably, but they measure the wrong thing).

GNU developed the catalysts which others use

Posted Jun 1, 2011 14:20 UTC (Wed) by Zack (guest, #37335) [Link] (3 responses)

A meaningful value of X might come about if you select packages that implement the various parts of POSIX, which defines a unix-like operating system environment.
In between the libraries, syscalls and utilities, I think one would basically come up with what would amount to GNU+Linux.

What is a useful operating systems these days is a valid question. Are windowing systems included ? Desktop environments ? All the other useful software that has become indispensible to most but are outside of the scope of the specification?

But as far as a formally defined POSIX compliant operating system environment goes it's should be reasnoable to say that "What makes Linux UNIX is GNU, which is not UNIX."

Ofcourse, RMS must have framed the posix debate in the first place, since he named it, so this metric doesn't count :)

GNU developed the catalysts which others use

Posted Jun 1, 2011 14:28 UTC (Wed) by Zack (guest, #37335) [Link]

or, alternatively, "If GNU had been GU, Linux would be Lunix"
(with apologies for my direct follow-up post)

GNU developed the catalysts which others use

Posted Jun 1, 2011 14:58 UTC (Wed) by ffaber (guest, #51868) [Link] (1 responses)

For the general user (who would use Windows otherwise):
Yes, windowing system is included.
Yes, a desktop environment is included.
Also add: a web browser, a mail client, an office suite, a multimedia player.
Useless: development tools, emacs, many many command line tools (awk, sed, ..).
With this setup (using the KDE desktop) the remaining of the GNU operating system are minimal. Much MUCH less than 8%.
We should be grateful for the GNU project and how it created the free software movement.
But the marginality of GNU in such a setup and the fact that often
FSF/RMS positions are "unpleasant" (copyright assignment, GFDL,
GPL V3 vs. V2, the Gnome project) are the main reasons why calling the
result GNU/Linux is wrong.

Without the GNU project, there would be fewer other projects

Posted Jun 1, 2011 16:42 UTC (Wed) by coriordan (guest, #7544) [Link]

Without the GNU project's work on development tools, legal infrastructure, and awareness of the importance of software freedom, half or most of the packages in a standard distro wouldn't exist.

As for what you find unpleasant - did you really think 28 years of campaigning and working on a public-interest project at the expense of various megacorporations could be a perfectly smooth ride with unanimity at every junction?

I agree that a desktop environment, windowing system, media player etc. should be in the system.

You're wrong about some of your suggestions for removal. The user might not use, for example, sed directly, but it gets used by scripts involved in keeping the system running. It's essential system software.

I'm also dubious about your claim that the GNU percentage would be much lower than 8%. I think it might be higher.

GNU developed the catalysts which others use

Posted Jun 3, 2011 8:20 UTC (Fri) by PO8 (guest, #41661) [Link] (1 responses)

Just for the record, in 1991 Johnson PCC and dbx/adb were perfectly viable alternatives to GCC and GDB. Not nearly *as* good, mind you, but plenty good enough for the work that needed to be done. Technically, Johnson PCC was probably never "open source", but it was also tiny and simple, and would have been easy to replace with an open source equivalent. Somebody would have, too, if GCC hadn't been handed to them for free.

I was building commercial products using these tools as late as the late 1980s.

The big break for GCC actually came with the advent of C++. Up until GNU C++, the only available C++ implementation was AT&T's fairly horrific CFRONT preprocessor. Not sure I'm thanking the GNU folks for making this language viable, and at any rate it was never really used for fundamental infrastructure.

What did you think BSD used for tools before RMS helped them out, anyhow?

GNU developed the catalysts which others use

Posted Jun 5, 2011 10:59 UTC (Sun) by coriordan (guest, #7544) [Link]

Thanks PO8, that's very interesting. I'll look into this more sometime.

Other people's accounts seem less optimistic about the other compilers that existed at the time. (RMS, Michael Tiemann, and others whose names I forget or don't know) I'll review those statements more critically next time.

Maybe those tools happened to work ok for your usage, but weren't good enough for larger/different projects? GNU was written in C, so it doesn't seem like the C++ frontend could be what made GCC important.

> Somebody would have, too, if

In all fairness, compiler development is littered with corpses of statements like this :-)

I think the fact that the GNU project actually did it, is what makes GNU special.

GNU developed the catalysts which others use

Posted Jun 4, 2011 2:31 UTC (Sat) by fsateler (subscriber, #65497) [Link] (1 responses)

Well then it should be called <some old UNIX brand>/GNU/Linux, since without <some old UNIX brand> gcc, glibc and gdb would have never been possible to begin with!
Or perhaps WINE should be called Microsoft/WINE, since without MS Windows, WINE would not exist.

I think the argument does not make any sense at all.

GNU developed the catalysts which others use

Posted Jun 5, 2011 10:51 UTC (Sun) by coriordan (guest, #7544) [Link]

One difference is that RMS's initial use of whatever system while writing GNU software was only as a temporary bootstrap, and it could have been any system (different developers surely used different systems - some Unix, some not).

GNU/Linux and the GNU development tools are developed by groups that communicate and collaborate to help each other. The GNU development tools are part of what makes GNU/Linux development continue.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:03 UTC (Wed) by BeS (guest, #43108) [Link] (3 responses)

Someone already mentioned it, especially today we have a lot of Linux-based operating systems therefore the name GNU or GNU/Linux become more and more important. Android, WebOS and GNU for example are all Linux-based operating system but it is a huge difference between running a GNU(/Linux) system or an Android(/Linux) system.

I don't want to bargaining about a few percentage because I think that's not the point like explained above. But I wonder which packages where count as GNU packages? If you look at this list[1] you will see a lot of packages which at least I wouldn't think of in the first second (e.g. GNOME, Gtk+. Classpath,...).

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:05 UTC (Wed) by BeS (guest, #43108) [Link]

sorry, I forget the link to the list of GNU packages: http://www.gnu.org/software/#allgnupkgs

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:15 UTC (Wed) by Wol (subscriber, #4433) [Link] (1 responses)

And as someone who runs gentoo ...

I have USE=-gnome in /etc/make.conf ...

Cheers,
Wol

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 17:26 UTC (Thu) by nix (subscriber, #2304) [Link]

Yeah, but it's hard to do much without glib these days. It's pretty much ubiquitous. libxml is even more so (though very much in maintenance mode, it makes minimal use of GNOME libraries, and is only really an official part of GNOME because its main developer was a GNOMEr when he started with it, I'd say: it's really a Veillard project.)

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:14 UTC (Wed) by marcH (subscriber, #57642) [Link] (1 responses)

> I am considering only the “main” repository, supposedly the core of the distribution,

This "supposedly" highlights the main flaw in the study. Code that everyone runs is not equivalent to code that is barely used.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:45 UTC (Wed) by tzafrir (subscriber, #11501) [Link]

The code is there. Patch it to e.g. use popularity data from popcon ( http://popcon.ubuntu.com/ ). Not the best, but gives some idea at what users actually use (well: what users actually have installed. And not exactly all users. But it's a start).

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:21 UTC (Wed) by realnc (guest, #60393) [Link] (2 responses)

> the kernel is actually comparable in size to all the GNU software

OK, then why did you ask the question the way you did? You could have asked this instead: How much Linux is there in GNU/Linux?

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 3:01 UTC (Thu) by nevets (subscriber, #11875) [Link] (1 responses)

The correct phrase is:

"How much GNU is there in Ubuntu"?

As someone else already mentioned, Ubuntu does not even mention that it is a Linux distribution (or Linux for that matter) in their web site.

How much GNU is there in GNU/Linux?

Posted Jun 6, 2011 18:52 UTC (Mon) by JanC_ (guest, #34940) [Link]

Well, there is a page that explains Ubuntu is based on Debian GNU/Linux...

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 9:50 UTC (Wed) by dgm (subscriber, #49227) [Link]

Am I the only one surprised by how BIG is gettext?

Biased metric to produce desired result

Posted Jun 1, 2011 11:20 UTC (Wed) by coriordan (guest, #7544) [Link] (4 responses)

"GNOME is proud to be a part of the GNU Project."
http://www.gnome.org/about/

It also seems that he didn't look at an operating system, but instead looked at a much bigger thing: everything packaged by Ubuntu. So GNU's contribution is watered down by counting 20 IRC clients and a load of software that most people will never install.

And that's ignoring the infrastructure work done by GNU - software, organisational, and legal. Who produced the licences? Who made the development tools so that other developers could write other parts of the system? Who set up a charity to pay people to work on the necessary system components? Who raised awareness of the importance of working on all this? Who worked on essays about policy and philosophy?

Link to rejected proposal as "proof"

Posted Jun 1, 2011 11:26 UTC (Wed) by coriordan (guest, #7544) [Link] (3 responses)

Oh, and the link he provides for his claim that GNOME is outside of GNU, is to a post by someone who doesn't represent GNOME.

The person in question made the proposal because he was angry at RMS for saying that GNOME shouldn't promote non-free software.

The person's proposal was ignored.

Link to rejected proposal as "proof"

Posted Jun 2, 2011 17:30 UTC (Thu) by nix (subscriber, #2304) [Link] (2 responses)

However the thread itself ran about 95% disagreeing with RMS (you could feel the incredulity coming through the screen), 5% agreeing, and RMS's request was similarly ignored. That's... not the way he acts when making requests to projects in which the GNU Project holds the copyright.

Link to rejected proposal as "proof"

Posted Jun 2, 2011 22:28 UTC (Thu) by coriordan (guest, #7544) [Link] (1 responses)

> about 95% disagreeing with RMS

Maybe 95% of the volume, but that was mostly just two *very* loud people :-)

> RMS's request was similarly ignored

His request was that http://planet.gnome.org not be used to promote proprietary software. I didn't follow the whole issue but no announcements about proprietary software jumped out at me when I checked just now.

Link to rejected proposal as "proof"

Posted Jun 3, 2011 9:51 UTC (Fri) by nix (subscriber, #2304) [Link]

That's definitely true, as planet.gnome.org never contained announcements/promotions of proprietary software anyway. His request was that it never mention proprietary software at all. As this amounted to an attempt to control what hundreds (?) of people write on their blogs it met with the sort of success you might expect.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 11:49 UTC (Wed) by Trelane (subscriber, #56877) [Link]

Bike shed + flame fest. Win?

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 13:59 UTC (Wed) by orospakr (guest, #40684) [Link] (5 responses)

It would be interesting to see the same numbers run for only the packages in Ubuntu's ubuntu-desktop/ubuntu-minimal package tree (ie., the "standard install"). These numbers appear to be including their entire repository.

I realize that "operating system"/"not operating system" is a false dichotomy. However, I think we can generally agree that while it might be reasonable to include things like a desktop and possibly even a web browser as part of the OS, perhaps including stuff like Eclipse, game system emulators and astronomy software might be pushing it.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 15:09 UTC (Wed) by donbarry (guest, #10485) [Link] (4 responses)

Stallman's seminal contribution, to my mind, transcended the coding, as central as that was -- it was in articulating the vision of a free operating system, providing the first roadmap, hacking copyright to keep such a system free, and organizing and inspiring others to join him in making it happen. Those who were not involved with computers in the 1980s are unaware of the centrality of Stallman as a figure then. Only in the late 90s did well-organized corporate opposition to the FSF emerge, resulting in the creation of the pathetic shill-central of the "Open Source Institute", the elevation of minor fringe figures like ESR into (for a while at least), wise prophets, and the calculated exclusion of Stallman from visible speaking roles at most industry conferences, and organized campaigns of vilification and character assassination against him.

I regard the code I've produced within my subdiscipline as an extension of
the GNU project since 1984. I know that even in the BSD framework, the freeing of that code and its general availability in fully free distributions is in large part a legacy of GNU's advocacy -- and more importantly -- example. Much code has been freed simply to stay relevant in an era where the philosophical firmament was set by GNU.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 15:53 UTC (Wed) by lethargo (subscriber, #26367) [Link]

I don't call it GNU/Linux. However, regardless of the percentage of GNU code, I think it is important to tell people that GNU had a central role in its creation. Why? Because it helps remind us of the value of idealists in society going forward. In any extended description of my Linux to the uninitiated, I feel like...

1. I should point out that the majority of code contributed today is by people working for corporations. To me this is important to point out because its fair, and because it helps remind my (relatively politically left-leaning) self that corporations as not inherently evil, but instead corporations are what they are, and are perfectly valid, great, and efficient in a particular role in society.

2. I should point out that the thing wasn't started by corporations. People motivated primarily by profit did not (and probably would not) initially create this thing I consider so beneficial. Idealists, and academics, did.

I may not agree with all of Stallman's positions. However, recognizing the importance of Stallman/FSF/GNU in creating "Linux" (as an OS, not just a kernel) helps remind us that idealists (and for that matter academics) are important and should be valued in society going forward. (End soap box...thank you)

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 16:05 UTC (Wed) by thumperward (guest, #34368) [Link] (1 responses)

That's as may be, and I've never seen anyone contradict it. However, that's not the FSF's position, which is that the use of GNU's compiler, shell, and the various userspace utilities which made up GNU's output in the early 90s constitutes the labelling of the resultant system as a "variant of GNU". The reason those things were used back in the day was that they compiled on the 386 and were available for nothing. Until it became obvious that Linux was the best vector for getting the FSF's message across, it was commonly understood that the two were orthogonal. That this is no longer commonly understood is not because it were never true, but rather because the FSF has spent nearly two decades attempting to obscure this.

How much GNU is there in GNU/Linux?

Posted Jun 3, 2011 14:53 UTC (Fri) by vonbrand (subscriber, #4458) [Link]

Then why didn't RMS insist that it be called GNU/Solaris? All Sun machines I saw did have gcc as their choice C compiler, and ran assorted packages from a collection of GNU (and other) software packaged for its awfull package system... What about DG/UX (Data General's Unix), where the official C compiler was gcc, as were the development tools, and AFAIR much of the userland also, came directly from GNU? That was the state of the art Unix system in the 90's, much as today it's a Linux kernel beneath essentially the same sort of mix of applications from a variety of sources...

How much GNU is there in GNU/Linux?

Posted Jun 3, 2011 14:46 UTC (Fri) by vonbrand (subscriber, #4458) [Link]

Better get a grip on the BSD saga. The "freeing" (final removal of the last restrictions, really) was due to people at UCB, as part of a much earlier stream of "software should be shared" movement than GNU. Inspiration probably flowed from BSD (and similar) movement to RMS, not the other way around.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 16:36 UTC (Wed) by jimreynold2nd (guest, #75341) [Link] (2 responses)

Well, if you look at it, we have 8% GNU and 8% Linux, so isn't calling it "GNU/Linux" only fair? Either we call it "GNU/Linux" or none at all (like just "Ubuntu"). But calling it just "Linux" is just unfair, given that we have same code contribution.

That is, given that code contribution is what you care.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 18:21 UTC (Wed) by butlerm (subscriber, #13312) [Link] (1 responses)

It is very simple. If the FSF wants to create its own Linux distribution and call it "GNU/Linux" that is great. No one else should be asked to or expected to, because it is an overbearing bit of self promotion, and a borderline pointless waste of linguistic bandwidth to boot.

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 17:43 UTC (Thu) by nix (subscriber, #2304) [Link]

Quite so. This is the logic behind the FSF's adoption of things like the X Window System and a bunch of BSD utilities -- and, indeed, the Linux kernel itself -- under the GNU aegis: that they are freely available and necessary to produce a free operating system, thus we indicate that they are part of 'the GNU system', i.e., what we would now call a distribution. (You'll notice that this distribution is purely notional: there is nowhere you could download a running 'GNU system' from, you have to assemble it out of pieces)

Where the FSF goes haywire is that it considers that its distribution is a fundamental property of the programs that make it up, and therefore also of other distributions made out of the same pieces. You could as easily say that coreutils should be called RedHat/GNU coreutils because of the longtime employer of its maintainer: by extension, because RH maintains so much of the software that goes into Linux, Ubuntu should be called RedHat/Ubuntu. This is plainly mad, and RH would fight it because it's trademark dilution as well. (You could argue that coreutils's copyright is assigned to the FSF so it should be allowed to keep other entities out of its name, but X's copyright *isn't* assigned to the FSF yet the FSF feels happy to call it part of the GNU system. So copyright assignment cannot be relevant here.)

Here, as in many ways, RMS and the FSF are stuck in the past: in the era they come from, and in the proprietary world now, products really *did* get dubbed with the name of the vendor who was distributing them. The free software world stopped working like that fifteen years or more ago, but the FSF never changed its ways here. Product names are, more than ever, arbitrary monikers, not credit lists: but the FSF doesn't seem to have noticed.

How much GNU is there in GNU/Linux?

Posted Jun 1, 2011 19:01 UTC (Wed) by Trelane (subscriber, #56877) [Link]

GNU and Linux grew together and supported each other!

Posted Jun 1, 2011 19:11 UTC (Wed) by lxoliva (guest, #40702) [Link] (2 responses)

http://fsfla.org/blogs/lxo/2007-05-21-gnu+linux has analysis that gets to very different results from those the cited report.

http://web.archive.org/web/20070928223909/http://www.slac... is another analysis that gets to a result that is even more disfavorable to Linux WRT GNU/Linux.

Now, considering that Linux didn't even double in size over the past 4 years, which would still put it ways behind the size of GNU back then, and that GNU also grew in this time-frame, I wonder how the report could possibly have arrived at a similar proportion of Linux and GNU.

But then, code size is not the whole story. Linus himself wrote, in the Linux 0.01 release announcement, that “a kernel by itself gets you nowhere”, and “most of the tools used with linux are GNU software”. So even he thought of linux as the kernel alone, and that GNU was essential to get a complete functional system.
http://www.kernel.org/pub/linux/kernel/Historic/old-versi...

This relationship could have changed like his opinion did, but it didn't: the combination of these two powerful developments fed each other and grew together and mostly inseparably, so neither party can reasonably claim credit alone.

That's why calling it GNU+Linux is just reasonable and fair. Calling it all Linux just feeds the misinformation for people who misperceive Linux as more than what it is. Of course those who seek this undeserved credit and want to spread misinformation will fight for it, finding other excuses to explain why it is fair to promote a small component of the whole over another equal-sized if not much bigger, older and just as historically-relevant component.

GNU and Linux grew together and supported each other!

Posted Jun 1, 2011 20:01 UTC (Wed) by dlang (guest, #313) [Link] (1 responses)

note that the earlier comparison you point at is comparing the size of compressed source archives, while this one is comparing lines of source code. remember things like logos will not compress well (and will not count as many lines of code either)

they kernel hasn't quite doubled in that timeframe

2.6.21 is 10332702 lines
3.0-rc1 is 16700965 lines

but it's gown a lot. have the GNU tools been growing that fast?

in any case, unless someone points out a flaw in the tools (as opposed to just other studies that did other types of checks) I don't have reason to believe that the numbers presented in this article are wrong. the code to run this is available, so if you think there's a mistake in it, point it out.

given how large gcc and gdb are, I would be interested in seeing the results when run against the standard install rather than the entire repository

GNU and Linux grew together and supported each other!

Posted Jun 2, 2011 1:17 UTC (Thu) by lxoliva (guest, #40702) [Link]

There is one pretty obvious flaw with the way the study that found a similarity was conducted: it disregards GNU packages that are in Debian and that haven't been repackaged by Ubuntu.

As for logos, the GNU tools I counted don't contain any AFAIK. Unlike Linux.

Now, if you want to compare a standard install, it would be just fair to apply the same standard to both sides, namely, discarding unusual drivers and architectures from Linux too. Or, if you want to claim they're important, then so are the less-than-common languages, architectures and operating systems supported by GCC, GDB and glibc, the architectures and object file formats supported by binutils, and all the options (or lack thereof) of Gnome.

Anyway, even if Linux *had* doubled in size in that time-frame and GNU hadn't grown at all, my very limited study with just a few GNU components showed they were 3 times larger that Linux, so these GNU tools alone would still be at least 50% larger than Linux.

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 2:23 UTC (Thu) by yarikoptic (guest, #36795) [Link]

GNU might vanish, Linux might get replaced, but even when dressed-up for a party it gets called Ubuntu, Debian will remain Debian! hooray!

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 13:39 UTC (Thu) by tchernobog (guest, #73595) [Link] (6 responses)

Isn't anyone bothering to question how those numbers were achieved? LoC is a very very poor metric. It does not capture usefulness of code, its complexity, or how many commits were needed to get there.

If I were to choose between two pieces of code doing the same thing, I would choose the one doing it in less lines of code. It could be an index of better maintainability, perhaps. I am just saying that you can't tell anything from these numbers. They just start flamewars.

For instance, I don't use all of the kernel; most drivers do not apply to my hardware. I use most of the glibc functionality, though.

And I will continue to call it GNU/Linux, not because it has a lot of GNU code in it, but because I think that it is important that people remember they are using a free-as-in-speech system. Or in a few years we will end up with a lot of Linux (android, google OS, whatever) systems that will have a small free portion, and will be uncannily similar to the old windows world again. No changes allowed. DRM everywhere. Patents to prevent you reverse engineer it. Etc. Calling it GNU/Linux normally has some people asking me "what is GNU?"; that is the most important part.

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 16:12 UTC (Thu) by southey (guest, #9466) [Link] (5 responses)

This is a rather naive to say that you don't use all of the kernel. You (or perhaps the distro) have used the full kernel source to obtain a binary because the compiler has to go through the complete kernel source based on your input. Also while your particular system may not have all drivers, you and your system may directly interacting with systems that do (GPS, internet servers etc.).

If LoC is a very very poor metric, how can you say that [Linux] has a lot of GNU code in it?
As dlang said above, show that this is wrong. After all the code used is available at the linked site.

The comments in this article show that this naming scheme is just pure fud. Sure GNU project host a number of projects that are very useful to use. But since Linux is important to you, does Linus and other developers have the same right to call you [something]/tchernobog? I agree with mingo that names should not be forced on others (especially given you other comments about openness).

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 22:51 UTC (Thu) by tchernobog (guest, #73595) [Link] (4 responses)

I am sorry, but:

a) I said *I* will continue to name it GNU/Linux. You can do whatever you want, and I wont fire a shotgun at you. However, if asked, I will continue to motivate it in the same way.

b) nobody forces a name on Linux, except maybe Android people. The kernel still is named Linux. It's the whole system that's named differently. If one is to follow your "don't force names on things logic" you can't name your system Debian, Fedora, SuSE, Gentoo or Ubuntu, for that matters. By the way, I am free to call it Bonkers OS, if I like, since there is no trademarked name for the whole combination as an holistic system.

c) I am also interacting with Windows computers, indirectly. I do not go so far as to say I am using a Microsoft Windows system just because of that. I find *your* comment rather naive.

d) With my software engineer hat on: LoC *is* a poor metric, they not only discourage you to use that at school (at the university they fail you outright if you try to use that directly to estimate effort) and at work (Bill Gates is credited to criticize the IBM effort-estimation mode based on SLoC by saying: "Measuring programming progress by lines of code is like measuring aircraft building progress by weight."), but commons sense should help you too to understand it. Numbers will not help you when you use the wrong method to measure the wrong thing.

I do not have to show that the numbers themselves are wrong, as you suggest. Running the experiment again would be pointless, because its based on a wrong set of hypothesis.

I am claiming that this report shows nothing of interest to support your denigrating notion about the GNU project, to which you seem to have a personal grudge against.

LoC was introduced as a metric around 1960. Not only agreeing about what SLoC means is difficult, it also is hard to adjust that value for different languages and programming paradigms.

Look: two SLoC:

--------------------------

#include <iostream>
int main () { std::cout << "Hello world!" << std::endl; }

--------------------------

Look: more SLoC:

--------------------------

#include <iostream>

int
main ()
{
using namespace std;
cout << "Hello world!"
<< endl;
return 0;
}

--------------------------

A nice story is also here: http://www.folklore.org/StoryView.py?project=Macintosh&...

I advise reading the following book: N. E. Fenton, S. L. Pfleeger, "Software Metrics: a rigorous & practical approach", PWS Publishing 1998

Another metric besides LOC

Posted Jun 3, 2011 14:22 UTC (Fri) by pr1268 (guest, #24648) [Link] (3 responses)

The LOC anecdote you linked reminded me of an orthogonal software engineering metric SNAFU that's equally silly: Fixing bugs for money! (A college professor told me that this actually happened at IBM sometime in the 1970s.)

Another metric besides LOC

Posted Jun 4, 2011 5:12 UTC (Sat) by dlang (guest, #313) [Link] (2 responses)

I get that you don't like LOC as a metric, but the only alternative that's been presented is the size of the compressed source .rpm files.

what metric would you propose to use instead?

Another metric besides LOC

Posted Jun 5, 2011 3:12 UTC (Sun) by pr1268 (guest, #24648) [Link] (1 responses)

I'm not totally against using LOC as a metric, but it does seem to lend itself to abuse (see Tchernobog's comment above). The size of compressed source tarballs could be equally abused (consider if I threw in a 1 MB random bits file in my source tarball—that would certainly enlarge my contribution).

I'm unsure what else to use. I admit that this is a lame answer, but it's just that the stories of abusing LOC metrics permeate folklore far beyond the link in Tchernobog's comment.

I suppose a better way of measuring software code would be based on features added, tested, and verified to the code base (for new development), or defects fixed and verified (for maintenance). If an individual were to have an unusually low number of features added/defects fixed, then this could be investigated—perhaps it's not attributable to the individual being lazy or incompetent but rather the particular code is hairy. Conversely, if some "hot shot" adds a hundred features/fixes, then this too might be attributed to a bunch of simple additions/modifications, like cosmetic fixes or single-line updates (The Dilbert example I linked notwithstanding).

Please understand that I do not wish to preach management style/technique. Besides, I'm not currently in a managerial position, nor do I consider myself prepared for such a role. I'm just suggesting intuitively what might be better than LOC for software metrics.

P.S. To answer the question asked by the title of this article, I suppose that there really isn't a better way to determine how much GNU in GNU/Linux other than LOC. Sigh.

Another metric besides LOC

Posted Jun 5, 2011 3:39 UTC (Sun) by neilbrown (subscriber, #359) [Link]

> P.S. To answer the question asked by the title of this article, I suppose that there really isn't a better way to determine how much GNU in GNU/Linux other than LOC. Sigh.

Which leaves just a small step to the logical conclusion... it doesn't matter.

This isn't a contest. This is a collaboration. Let's just say a heart-felt "thank you" to every contributor, and not try to measure that which cannot be measured.

(Isn't that the whole point of ditching the 4-clause BSD license)

How much GNU is there in GNU/Linux?

Posted Jun 2, 2011 20:54 UTC (Thu) by pr1268 (guest, #24648) [Link] (1 responses)

In a fraction, 1/3. (Three out of nine letters when you include the '/'.)

Spoken, also 1/3 (syllables). Assuming you can pronounce "GNU" in one syllable. (I usually pronounce the 'G' hard, so it sounds like a mini-second syllable, as in "guh-NOO" [sorry, I don't know IPA].)

;-)

How much GNU is there in GNU/Linux?

Posted Jun 3, 2011 9:16 UTC (Fri) by mpr22 (subscriber, #60784) [Link]

Conveniently, the hard-g pronunciation of "gnu" would be written /gnu/ in the IPA :)

How much GNU is there in GNU/Linux?

Posted Feb 27, 2015 23:58 UTC (Fri) by farzin (guest, #101233) [Link]

three points

1) how has the researcher compared the contributions of GNU vs Linux vs etc. his graph? number of man hours? lines/characters of coding? sometimes you can optimize software by reducing the number of lines/characters. I remember a Steve Ballmer interview where he was frustrated over a contract with IBM. IBM wanted to pay Microsoft x amount of dollars for every x amount of lines of code. Of course, he argued that optimizing software sometimes means fewer lines of code.

2) Some in the comments probably haven't read the text under the graph either where it explicitly mentions that gnome was a GNU project too which would bring the percentage up to 14%.

3) GNU/Linux has evolved/changed through the course of time. It is important to select an appropriate method to judge the % of change. in molecular biology, DNA–DNA hybridization tells us the % of similarity between human and chimp is 98%, other methods of comparison
to take an example from evolutionary biology, you may have heard the popular notion that 98% of the human and chimp genome are identical. But this % is only the result of one method of genome-comparison (DNA–DNA hybridization), other (more accurate) methods give you a much lower %.

similarly in programming code, depending on the method of comparison, you can arrive at varying percentages.


Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds