5 ms·
> On a nominally "GNU/Linux" installation, Linux is the important part of the stack. GNU software is a small (and shrinking!) part of the userland. I expect thi
by tcmart14 5y ago
> On a nominally "GNU/Linux" installation, Linux is the important part of the stack. GNU software is a small (and shrinking!) part of the userland. I expect this trend to continue as Clang/LLVM pushes out GCC, modern packaging replaces Debian-style dependency resolution[1], and more software moves from C/C++ toward languages that statically link their runtimes (Go, Rust).
If your getting the userland code from GNU (as is the case with Debian, Fedora, Ubuntu, Arch, Gentoo, etc....), but compiling it with Clang/LLVM, it is still GNU code written by the GNU project. GNU makes up pretty much the entire linux userland on most distributions with the exceptions being distros like Alpine or distros that use BusyBox userland utilities.
NetBSD maintains their own userland utilities, they are not written by GNU. But they are compiled with GCC, does not make them GNU userland utilities.
- jmillikin 5y agoAll of the GNU code on my Ubuntu machine fits in maybe ~100 MB, which is less than any of a dozen non-GNU applications I use day-to-day. It's just not an important part of the userland any more. The world has moved on to GUI tools, of which GNU has only a few (GIMP + whatever parts of Gnome are official GNU).
- tcmart14 5y agoUbuntu's biggest use case is more than likely a server accessed by a user of SSH. I use linux and love it, but desktop usage is a small portion of Linux's actual use. Those GNU core-utils userland utilites are an integral part in administering remote machines which makes up the vast majority of the use case. I'll even defer to Debian's about page, which is where Ubuntu is derived from. "A large part of the basic tools that fill out the operating system come from the GNU project; hence the names: GNU/Linux, GNU/kFreeBSD, and GNU/Hurd. These tools are also free." [1] [1] https://www.debian.org/intro/about https://www.debian.org/intro/about
- jmillikin 5y agoLooking at one of my remote servers running Debian Buster, it has about the same amount of GNU stuff on it (~100 MB) and most of that is semi-obsolete tooling that, again, just isn't necessary day-to-day. I could probably purge ~all of it without loss of functionality. I log in with OpenSSH, which listens on a Wireguard interface. The shell is whatever generic Bourne-alike Debian uses (Ash? Dash?). The administrative tools are all written in Go since they're a mix of contemporary projects (containerd) and my own administrative agents. Primary editor is vim. There's the basic tools (mv, cp) but those could just as easily be supplied by Busybox, which is installed. It's difficult for me to imagine what sort of server would run GNU software as a majority of its workload, or even just the UX control surfaces. The GNU project has always had a strong emphasis on re-creating the UNIX interfaces of yesteryear, and modern sysadmin practices don't include running m4 or gcc in the same machine that's going to serve traffic.
- aragilar 5y agoDoes glibc count? If you use systemd, then you are dependant on GNU (as noted in the article). GNOME is becoming more systemd-dependant, so GNOME is also implicitly more dependent on GNU. Other things include mDNS (what, if anything, does blah.local resolve to on non-GNU systems), libquadmath (which tends to be required more often than people would expect) or GNU-specific flags/behaviours (e.g. GNU tar just does the right thing). I suspect if you did purge the GNU stuff (baring the things which either require you to specifically say you're fine with the result or remove required software) you'll find lots little things that don't work right, because the GNU code is functionally the only option (missing features, integrations from other software etc.). I don't think GNU is particularly special this way: try going from vim to busybox vi, or looking at how much stuff depends on imagemagick (a.k.a https://xkcd.com/2347/ https://xkcd.com/2347/).
- hnfong 5y agoYou're naming a lot of projects that aren't under the GNU umbrella. Why shouldn't "Linux" systems be called "systemd/Linux" instead? Why not "imagemagick/Linux" even? It seems very silly to name a family of operating systems just for the C library alone. Sure, there are apps that depend on GNU extensions, but beside systemd I don't know whether the rest are really true. (Pretty sure Vim and Imagemagick work fine without glibc...) I don't think Richard Stallman would have gone so far to attach the GNU name just because of libc. Back then when he was advocating for GNU/Linux, it was because GNU basically had a unix clone implemented and ready (libc, compiler, shell and common utilities), but people eventually named the system by the kernel, the only component that they failed to get right. At that point it was probably apt to call the system GNU/Linux, but these days when many of the original GNU parts are replaceable or faded into obscurity, I don't know whether the argument holds any more.