Stallman joined the MIT Artificial Intelligence Lab in 1971. He found a community that had been sharing its programs for years. The lab ran ITS, the Incompatible Timesharing System, a time-sharing system written by its own hackers for Digital Equipment Corporation’s PDP-10. Stallman worked on its development; anyone who wanted to improve a program could ask for its source code and change it.
In the early 1980s, that culture fell apart, according to Stallman’s account in The GNU Project. In 1981, Symbolics, a spin-off from the lab, hired away nearly all of its hackers. Digital then discontinued the PDP-10 line, making most of ITS’s programs obsolete. In 1982, the lab’s new PDP-10 ran Digital’s proprietary system rather than ITS. The modern computers of the day came with their own operating systems, and getting the code meant signing a non-disclosure agreement.
An earlier episode had left its mark on Stallman: he had been refused the source code of the program that drove the lab’s printer, which prevented him from fixing its faults. He drew a conclusion from it: for a sharing community to exist again, it first needed a free operating system, since that is what makes a computer usable at all.
1983: announcing a free Unix
The message of 27 September 1983, posted to net.unix-wizards and net.usoft, planned to start work at Thanksgiving. It listed the first pieces required: a kernel, an editor, a shell, a C compiler, a linker and an assembler, followed by a text formatter, a YACC-compatible parser generator and other software. Stallman justified the project with a moral rule: if he liked a program, he had to share it with other people who liked it.
Notes later added to the text by the GNU Project point out its limitations. The word free still blurred freedom and price, a distinction Stallman had not yet articulated, and several principles of free software remained to be worked out.
Why copy the Unix interface
Stallman chose Unix compatibility for two reasons: Unix was already portable from one machine to another, and its users would be able to switch to GNU without changing their habits or their programs. The name followed a hacker tradition, the recursive acronym: GNU’s Not Unix.
That compatibility concerned the interfaces: command names, their options, the calls a program makes to the system. The code itself was written from scratch. GNU is therefore a Unix-like system without a single line from AT&T. This choice shaped everything that followed: each component could be replaced on its own, as long as it behaved like its Unix counterpart.
Leaving MIT to protect the project
Work began in January 1984. That month, Stallman resigned from his job at MIT: as an employee, he risked seeing the university claim ownership of his work and perhaps restrict its distribution. Professor Patrick Winston, who headed the lab, nonetheless allowed him to keep using its facilities.
Building the pieces one by one
A compiler, then an editor
A system written in C first needs a C compiler. Stallman wrote to the author of the Free University Compiler Kit, developed at the Vrije Universiteit in Amsterdam, to ask whether he could use it; the reply, as he tells it, was that “the university is free, but the compiler is not”. He then tried to adapt Pastel, a compiler from Lawrence Livermore National Laboratory, but it needed far too much memory for the 68000-based Unix systems of the time. So he wrote a new compiler, reusing the C front end he had developed.
That compiler became GCC, the GNU C Compiler. Its first beta, version 0.9, came out on 22 March 1987; version 1.0 followed on 23 May 1987. GCC ran on many architectures and became one of the most widely used GNU components, including on systems that are not GNU.
Meanwhile, in September 1984, Stallman started GNU Emacs, a text editor programmable in Lisp, which became usable in early 1985. Many users had no Internet access, so Stallman offered to mail a magnetic tape containing Emacs for 150 dollars. This paid distribution of free software funded the work and foreshadowed the Free Software Foundation.
Replacing every command
The GNU Manifesto first appeared in Dr. Dobb’s Journal in March 1985, and its text was updated until 1987. The progress report in its revised version therefore does not describe 1985 alone: Emacs, a source-level debugger, a YACC-compatible parser generator, a linker and around 35 utilities existed; a shell was nearly complete; the new C compiler had compiled itself; an initial kernel existed but needed much more work. The compiler in particular was not finished in 1985: in an interview with BYTE magazine in July 1986, Stallman still described it as nearly done.
To recruit help, the project kept a GNU task list: the Unix components still to be written. Volunteers and FSF staff took them on. Two examples show the method:
- gawk, the GNU version of the AWK language, was written in 1986 by Paul Rubin and completed by Jay Fenlason. AWK itself had been designed at Bell Labs in 1977 by Alfred Aho, Peter Weinberger and Brian Kernighan, none of whom worked on gawk: the GNU Project rewrote the tool from its documented behaviour;
- Bash, the Bourne-Again Shell, was written by Brian Fox, a Free Software Foundation employee, to replace the Unix Bourne shell; Chet Ramey, of Case Western Reserve University, maintains it today.
The GNU C Library, developed by Roland McGrath, also on the FSF staff, provides programs with the standard C functions and acts as their intermediary with the kernel. Stallman counts these two achievements, the C library and the shell, among the most important written by the foundation’s employees.
The missing kernel
By 1990, according to Stallman, the system was almost complete; the only major piece still missing was the kernel. The project had decided to build it as a collection of server processes, the Hurd, running on Mach, a microkernel developed at Carnegie Mellon University. The start was delayed while waiting for Mach to be released as free software. Stallman would later admit that development had been “much harder than we expected”.
Defining freedom rather than price
While the code was being written, the project clarified what it meant by free software. In English, free means both “at liberty” and “at no cost”; the FSF’s formula settles it: think of “free” as in “free speech”, not as in “free beer”. Other languages, such as French with libre and gratuit, have two separate words and avoid the ambiguity altogether.
Four freedoms numbered 0 to 3
The earliest known published definition appeared in February 1986 in the FSF’s GNU’s Bulletin. It has been refined since. In its current form, a program is free if its users have four freedoms:
| Number |
Freedom |
Practical requirement |
| 0 |
to run the program as you wish, for any purpose |
no restriction on use |
| 1 |
to study how the program works and adapt it to your needs |
access to the source code |
| 2 |
to redistribute copies so you can help others |
right to copy, free of charge or for a fee |
| 3 |
to distribute modified versions so the community can benefit |
access to the source code |
The FSF gives a historical explanation for counting from zero: around 1990, the list had three freedoms, numbered 1 to 3. The freedom to run the program, more fundamental, was later added at the top; rather than renumber the others, the project called it freedom 0.
The definition explicitly allows commerce: a free program must be usable, developable and distributable commercially, and you may sell copies. What matters is the set of rights passed on with the program.
Copyleft and the GPL
A program placed in the public domain can be taken, modified and then redistributed in a closed form: the freedoms stop at the first intermediary. Copyleft turns copyright against that risk. The author keeps their rights and grants everyone the four freedoms, on condition that every redistributed version, modified or not, carries the same freedoms. Stallman credits Don Hopkins with the phrase “Copyleft — all rights reversed”, a pun on all rights reserved.
The GNU General Public License applies this principle to most GNU programs. The project does not use it everywhere: some GNU libraries, such as the GNU C Library, come under the less restrictive library licence described below. The successive versions of these licences are as follows:
- version 1, February 1989, which unified the licences previously specific to each program;
- version 2, June 1991, accompanied by the more permissive Library General Public License, intended for libraries that non-free programs may use;
- version 3, 29 June 2007, which addresses patents and devices that prevent users from installing modified versions, among other things;
- Affero GPL version 3, 19 November 2007, which adds a network case: anyone who modifies the program and lets users interact with that modified version remotely over a network must offer them its corresponding source code.
The Free Software Foundation: funding and defending
In 1985, Stallman founded the Free Software Foundation, a tax-exempt non-profit organisation. It took over the sale of Emacs tapes, then of other software and manuals, and employed programmers to write the missing components. It drafts and publishes the GNU licences and maintains the definition of free software.
The foundation thus paid for part of the work, but the system also relied on outside contributions: the task list let any programmer pick a missing component and offer it to the project.
Example: what the GPL requires depending on use
GPL obligations arise when the program is passed on to someone else: as long as you do not distribute it, the licence demands nothing. The AGPL goes further for modified versions used remotely, as the last row shows. The following table summarises, based on the licence texts and the FSF’s FAQ, the obligations in five common situations.
| Situation |
What the GPL allows |
Obligation |
| Using the program within a company |
any use (freedom 0) |
none |
| Modifying it for your own needs without releasing it |
private modification |
no publication required |
| Selling copies of the program |
charging for the copy or the service |
pass on the GPL and guarantee access to the source code: shipped with the copies or by the licence’s other means, such as a written offer |
| Distributing a modified version in compiled form |
redistribution |
GPL for the whole work, corresponding source code included or, under GPL v2, a written offer valid for at least three years |
| Offering the modified version as an online service |
no distribution in the GPL sense |
none under the GPL; under the AGPL v3, offer the source code to remote users |
Simplified summary: only the licence texts are authoritative, and applying them to a real case may require legal advice.
The last row explains why the AGPL was created: a program running on a server is not copied to its users’ machines, so the GPL imposes nothing on the operator. Section 13 of the AGPL closes that gap.
GNU and Linux: two projects, one system
In 1991, Linus Torvalds, a student at the University of Helsinki, wrote a kernel for his Intel 386 PC: Linux. Its first licence prohibited commercial distribution. In the release notes for version 0.12, in early 1992, Torvalds announced that the licence would change to conform to the GNU copyleft, lifting the ban on distributing Linux for money. The kernel compiled with GCC, and its first users worked with the GNU tools. The kernel’s own story is told in the article on Linux.
Combined with the GNU components, Linux formed an entirely free operating system around 1992. The division of roles is clear:

Original Bethemesh diagram, simplified: a real distribution contains thousands of packages from many different sources.
Measuring each project’s share
In Linux and the GNU System, Stallman reports a measurement made on the source code of a distribution sold on CD-ROM, without naming it or giving the year. GNU software made up the largest body of code from any single source:
Source code of the measured distribution
GNU software about 28%
Linux kernel about 3%
Ratio 28 ÷ 3 ≈ 9.3
GNU code therefore accounted for roughly nine times as much as the kernel. Stallman himself stresses that this count is not his main argument: he asks for the name GNU/Linux because GNU was designed from 1983 as a complete system, and Linux came along to supply its missing piece. Many users, distributions and media still say “Linux” for the whole thing; the naming debate remains open.
The distinction also holds the other way round: Android uses the Linux kernel with its own C library, bionic, and without the usual GNU tools. The kernel can therefore underpin very different systems; GNU/Linux distributions assemble one particular kind.
What about the Hurd?
The GNU kernel kept developing. According to Stallman, the Hurd has worked reliably since 2001, but by then Linux already filled the kernel role in free distributions. The Hurd remains an active project, used mainly by developers.
Free software and open source
In January 1998, Netscape announced it would release the source code of its browser. Shortly afterwards, on 3 February 1998, a meeting in Palo Alto, California, adopted the term open source, proposed by Christine Peterson. Its participants, including Eric Raymond, wanted to pitch code sharing to businesses without the ambiguity of free or the moral overtones associated with Stallman’s movement. At the end of February, Eric Raymond and Bruce Perens founded the Open Source Initiative (OSI).
The OSI published an Open Source Definition produced by revising the Debian Free Software Guidelines, written by Bruce Perens and approved by Debian developers in 1997. In October 1999, it published its first official list of approved licences.
Stallman rejects this change of vocabulary. For him, open source is a development methodology, whereas free software is a social movement: users’ freedom is an ethical issue, not just a way to obtain reliable software. He acknowledges that nearly all open source software is free, the two terms describing almost the same category of programs. The difference lies in the values put forward and in the choices they lead to in some cases, for example when faced with technical restrictions imposed on the user.
| Criterion |
Free software (FSF) |
Open source (OSI) |
| Origin |
GNU Project, 1983–1986 |
meeting of 3 February 1998, OSI |
| Reference text |
four freedoms |
ten-criterion Open Source Definition, derived from the Debian guidelines |
| Main argument |
users’ freedom and solidarity |
quality, reliability, practical benefits of open development |
| Licences covered |
almost all the same; the GPL is recognised by both |
|
Legacy: components that outlived the project
GNU did not reach its original goal in the form it planned: its own kernel arrived late, and the complete system became popular with Linux. Yet its components travel far beyond the GNU system. GCC compiles software on all kinds of platforms; Bash was for a long time the default shell on many systems; gawk, grep, sed and make are found on servers and developer workstations around the world.
Several ideas have outgrown the project:
- reimplementing interfaces: reproducing Unix’s documented behaviour was enough to replace each piece, without access to the original code;
- the licence as a design tool: copyleft turns the licence into a mechanism that guarantees the freedoms are passed on with every redistribution;
- a definition centred on the user: the four freedoms describe what the person receiving the program can do, whatever its price;
- separation of layers: kernel, library, commands and build tools can come from different projects, which makes an assembly such as GNU/Linux possible.
The success of that assembly raised a new question: how to install, update and maintain thousands of components coming from independent projects. That is the role distributions would take on.
Frequently asked questions
Is free software always free of charge?
No. The FSF’s definition concerns the freedoms passed on, not the price: you can sell copies of free software, and Stallman himself funded his early work by selling Emacs tapes for 150 dollars. However, the buyer gets the right to redistribute the program, for free or not, which in practice limits the price of mere copies.
Does GNU contain any Unix code?
No. GNU reproduces Unix’s interfaces — the commands, their options and the system calls — so that users and programs can move from one to the other. All the code was written by the project or its contributors, or comes from other free software. That is precisely the meaning of the acronym “GNU’s Not Unix”.
Should you say Linux or GNU/Linux?
Both usages coexist. Strictly speaking, “Linux” refers to the kernel written by Linus Torvalds. Stallman and the FSF ask for “GNU/Linux” for the complete system, because GNU was designed as a whole system and supplies a large part of it. Common usage, including in many distributions, simply says “Linux”.
What is the difference between free software and open source?
Both terms cover almost the same software and often the same licences. Free software, as defined by the FSF, puts users’ freedom forward as an ethical principle. Open source, as defined by the OSI in 1998, emphasises the practical advantages of open development. The disagreement is about the reasons for sharing code more than about the programs themselves.
Does the GPL force you to publish your changes?
Only if you distribute them. A company can modify a GPL program for internal use without publishing anything. If it distributes the modified version, it must release it under the GPL and guarantee recipients access to the corresponding source code, either by including it or by another means the licence provides, such as a written offer to supply it. For an online service, the GPL imposes nothing; the AGPL v3, however, requires anyone who modifies the program and lets users interact with that modified version remotely over a network to offer them its source code.
What became of the GNU Hurd kernel?
The Hurd, built as a collection of servers on top of the Mach microkernel, took much longer than planned. Stallman says it has worked reliably since 2001, by which time Linux had already established itself as the kernel of free systems. It is still being developed, but plays a marginal role compared with Linux.