GNU | |
Logo Size: | 100px |
Family: | Unix-like |
Developer: | Community |
Source Model: | Free software |
Marketing Target: | Personal computers, mobile devices, embedded devices, servers, mainframes, supercomputers |
Userland: | GNU |
Kernel Type: | Microkernel (GNU Hurd) or Monolithic kernel (GNU Linux-libre, fork of Linux) |
License: | GNU GPL, GNU LGPL, GNU AGPL, GNU FDL, GNU FSDG[1] [2] |
Programmed In: | Various languages (notably C and assembly language) |
Working State: | Current |
Supported Platforms: | IA-32 (with Hurd kernel only) and Alpha, ARC, ARM, AVR32, Blackfin, C6x, ETRAX CRIS, FR-V, H8/300, Hexagon, Itanium, M32R, m68k, META, MicroBlaze, MIPS, MN103, OpenRISC, PA-RISC, PowerPC, s390, S+core, SuperH, SPARC, TILE64, Unicore32, x86, Xtensa, RISC-V (with Linux-libre kernel only) |
GNU [3] is an extensive collection of free software (394 packages [4]), which can be used as an operating system or can be used in parts with other operating systems.[5] [6] The use of the completed GNU tools led to the family of operating systems popularly known as Linux.[7] Most of GNU is licensed under the GNU Project's own General Public License (GPL).
GNU is also the project within which the free software concept originated. Richard Stallman, the founder of the project, views GNU as a "technical means to a social end".[8] Relatedly, Lawrence Lessig states in his introduction to the second edition of Stallman's book Free Software, Free Society that in it Stallman has written about "the social aspects of software and how Free Software can create community and social justice".[9]
GNU is a recursive acronym for "GNU's Not Unix!",[10] chosen because GNU's design is Unix-like, but differs from Unix by being free software and containing no Unix code.[11] [12] [13] Stallman chose the name by using various plays on words, including the song The Gnu.[14]
Development of the GNU operating system was initiated by Richard Stallman while he worked at MIT Artificial Intelligence Laboratory. It was called the GNU Project, and was publicly announced on September 27, 1983, on the net.unix-wizards and net.usoft newsgroups by Stallman.[15] Software development began on January 5, 1984, when Stallman quit his job at the Lab so that they could not claim ownership or interfere with distributing GNU components as free software.[16]
The goal was to bring a completely free software operating system into existence. Stallman wanted computer users to be free to study the source code of the software they use, share software with other people, modify the behavior of software, and publish their modified versions of the software. This philosophy was published as the GNU Manifesto in March 1985.[17]
Richard Stallman's experience with the Incompatible Timesharing System (ITS), an early operating system written in assembly language that became obsolete due to discontinuation of PDP-10, the computer architecture for which ITS was written, led to a decision that a portable system was necessary.[18] It was thus decided that the development would be started using C and Lisp as system programming languages,[19] and that GNU would be compatible with Unix.[20] At the time, Unix was already a popular proprietary operating system. The design of Unix was modular, so it could be reimplemented piece by piece.
Much of the needed software had to be written from scratch, but existing compatible third-party free software components were also used such as the TeX typesetting system, the X Window System, and the Mach microkernel that forms the basis of the GNU Mach core of GNU Hurd (the official kernel of GNU).[21] With the exception of the aforementioned third-party components, most of GNU has been written by volunteers; some in their spare time, some paid by companies,[22] educational institutions, and other non-profit organizations. In October 1985, Stallman set up the Free Software Foundation (FSF). In the late 1980s and 1990s, the FSF hired software developers to write the software needed for GNU.[23] [24]
As GNU gained prominence, interested businesses began contributing to development or selling GNU software and technical support. The most prominent and successful of these was Cygnus Solutions, now part of Red Hat.[25]
See main article: List of GNU packages.
The system's basic components include the GNU Compiler Collection (GCC), the GNU C library (glibc), and GNU Core Utilities (coreutils), but also the GNU Debugger (GDB), GNU Binary Utilities (binutils),[26] and the GNU Bash shell.[27] [28] GNU developers have contributed to Linux ports of GNU applications and utilities, which are now also widely used on other operating systems such as BSD variants, Solaris and macOS.[29]
Many GNU programs have been ported to other operating systems, including proprietary platforms such as Microsoft Windows[30] and macOS.[31] GNU programs have been shown to be more reliable than their proprietary Unix counterparts.[32] [33]
, there are a total of 467 GNU packages (including decommissioned, 394 excluding) hosted on the official GNU development site.[34]
See main article: GNU variants.
In its original meaning, and one still common in hardware engineering, the operating system is a basic set of functions to control the hardware and manage things like task scheduling and system calls. In modern terminology used by software developers, the collection of these functions is usually referred to as a kernel, while an 'operating system' is expected to have a more extensive set of programs. The GNU project maintains two kernels itself, allowing the creation of pure GNU operating systems, but the GNU toolchain is also used with non-GNU kernels. Due to the two different definitions of the term 'operating system', there is an ongoing debate concerning the naming of distributions of GNU packages with a non-GNU kernel. (See below.)
The original kernel of GNU Project is the GNU Hurd (together with the GNU Mach microkernel), which was the original focus of the Free Software Foundation (FSF).[35] [36]
With the April 30, 2015 release of the Debian GNU/Hurd 2015 distro,[37] [38] GNU now provides all required components to assemble an operating system that users can install and use on a computer.[39] [40] [41]
However, the Hurd kernel is not yet considered production-ready but rather a base for further development and non-critical application usage.
In 2012, a fork of the Linux kernel became officially part of the GNU Project in the form of Linux-libre, a variant of Linux with all proprietary components removed.[42] The GNU Project has endorsed Linux-libre distributions, such as Trisquel, Parabola GNU/Linux-libre, PureOS and GNU Guix System.[43]
Because of the development status of Hurd, GNU is usually paired with other kernels such as Linux or FreeBSD.[44] Whether the combination of GNU libraries with external kernels is a GNU operating system with a kernel (e.g. GNU with Linux), because the GNU collection renders the kernel into a usable operating system as understood in modern software development, or whether the kernel is an operating system unto itself with a GNU layer on top (i.e. Linux with GNU), because the kernel can operate a machine without GNU, is a matter of ongoing debate. The FSF maintains that an operating system built using the Linux kernel and GNU tools and utilities should be considered a variant of GNU, and promotes the term GNU/Linux for such systems (leading to the GNU/Linux naming controversy). This view is not exclusive to the FSF.[45] [46] [47] [48] [49] Notably, Debian, one of the biggest and oldest Linux distributions, refers to itself as Debian GNU/Linux.[50]
The GNU Project recommends that contributors assign the copyright for GNU packages to the Free Software Foundation,[51] [52] though the Free Software Foundation considers it acceptable to release small changes to an existing project to the public domain.[53] However, this is not required; package maintainers may retain copyright to the GNU packages they maintain, though since only the copyright holder may enforce the license used (such as the GNU GPL), the copyright holder in this case enforces it rather than the Free Software Foundation.[54]
For the development of needed software, Stallman wrote a license called the GNU General Public License (first called Emacs General Public License), with the goal to guarantee users freedom to share and change free software.[55] Stallman wrote this license after his experience with James Gosling and a program called UniPress, over a controversy around software code use in the GNU Emacs program.[56] [57] For most of the 80s, each GNU package had its own license: the Emacs General Public License, the GCC General Public License, etc. In 1989, FSF published a single license they could use for all their software, and which could be used by non-GNU projects: the GNU General Public License (GPL).[58]
This license is now used by most of GNU software, as well as a large number of free software programs that are not part of the GNU Project; it also historically has been the most commonly used free software license (though recently challenged by the MIT license).[59] [60] It gives all recipients of a program the right to run, copy, modify and distribute it, while forbidding them from imposing further restrictions on any copies they distribute. This idea is often referred to as copyleft.[61]
In 1991, the GNU Lesser General Public License (LGPL), then known as the Library General Public License, was written for the GNU C Library to allow it to be linked with proprietary software.[62] 1991 also saw the release of version 2 of the GNU GPL. The GNU Free Documentation License (FDL), for documentation, followed in 2000.[63] The GPL and LGPL were revised to version 3 in 2007, adding clauses to protect users against hardware restrictions that prevent users from running modified software on their own devices.[64]
Besides GNU's packages, the GNU Project's licenses can[65] and are used by many unrelated projects, such as the Linux kernel, often used with GNU software. A majority of free software such as the X Window System,[66] is licensed under permissive free software licenses.[67]
The logo for GNU is a gnu head. Originally drawn by Etienne Suvasa, a bolder and simpler version designed by Aurelio Heckert is now preferred.[68] [69] It appears in GNU software and in printed and electronic documentation for the GNU Project, and is also used in Free Software Foundation materials.
There was also a modified version of the official logo. It was created by the Free Software Foundation in September 2013 in order to commemorate the 30th anniversary of the GNU Project.[70]