Is it possible to run pure GNU?

On the GNU Project webpage, there’s a subsection called “All GNU packages” which lists the various software in the GNU project.

Are there any GNU distributions which use only these packages — i.e. a “pure” GNU operating system that runs on only GNU packages?

I’m not particularly interested on whether this would be a practical operating system, just if it’s theoretically possible to run GNU Hurd with purely the GNU packages. If not, what kind of software must still be implemented to achieve this goal (i.e. what’s missing)?

If GNU Hurd is the limiting factor, than if an exception is made for the kernel, would a pure GNU OS be possible using the Linux kernel?

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

The explicit goal of the GNU project is to provide a complete open source/libre/free operating system.

Are there any GNU distributions which use only these packages — i.e. a “pure” GNU operating system that runs on only GNU packages?

There is a reference here to an official sounding GNU binary distro based on Hurd which “consists of GNU Mach, the Hurd, the C library and many applications”. It may or may not be currently maintained, however, as I couldn’t find any other online references to it. But it does sound like it fits your criteria.

I’m not particularly interested on whether this would be a practical operating system, just if it’s theoretically possible to run GNU Hurd with purely the GNU packages.

The answer to the previous question implies an obvious answer WRT Hurd. Of course, it might help to define more precisely what would count as a reasonably complete “operating system”. I’ll provide two definitions:

  1. A collection of software sufficient to boot up to a shell prompt.
  2. A system which fulfills POSIX criteria. This is essentially a stricter version of #1, since the highest level mandatory entity in a POSIX system would be the shell.

This is a little arbitrary, since an operating system designed to fulfill some special purpose might not need a shell at all. However, in that case it would become a more specific question about the nature of the “special purpose”.

In any case, the answer is yes, although GNU’s implementation of some things may not be 100% perfectly POSIX compliant (and there are a handful of required utilities, such as crontab, which GNU doesn’t provide). Here are the potential components:

  • Kernel (Hurd)
  • C library (glibc)
  • Essential utilities (GNU core-utils, etc.)
  • Shell (bash, which is a GNU project)

I did not include a bootloader, since that is not part of the OS — but in any case grub is also a GNU project.

Method 2

If GNU Hurd is the limiting factor, than if an exception is made for the kernel, would a pure GNU OS be possible using the Linux kernel?

Yes, Guix System is a complete operating system distribution, developed by the GNU Project it self! and is (obviosuly) endorsed by GNU as an entirely free operating system.

Apart from GNU Userland and GNU’s GNOME Desktop Environment which all GNU/Linux distros have, following are some key GNUish features of the Guix System:

Method 3

Take a look at the GNU website. They maintain a list of GNU/Linux distros there:

These are still running the Linux kernel but could be adapted to only run with the GNU Hurd kernel instead.

Also there is this link which covers how to run say Debian using the Hurd kernel:

That same page also has links to a few other distros such as Arch + Hurd too.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x