Curious Minds

Clear answers to science and history questions

Why Linus Torvalds Created Linux: The Real Story

· 5 min read · Science

Linus Torvalds created Linux because he wanted a free, Unix-like operating system that could run on his own Intel 386 PC, and he was frustrated by the limitations and licensing of existing alternatives like MINIX. He started it as a personal hobby project in 1991, initially calling it "just a hobby" and never expecting it to become a global operating system.

The Background: Unix, MINIX, and the PC Revolution

To understand why Linus Torvalds created Linux, you need to know what was happening in computing in the late 1980s and early 1990s. Unix was the dominant multiuser operating system in universities and businesses, but it was proprietary, expensive, and tied to specific hardware. A free educational clone called MINIX, written by Andrew Tanenbaum, was available for IBM PCs, but it was designed for teaching, not for real-world use, and its licensing restricted modifications and redistribution.

At the same time, Intel 386-based PCs were becoming affordable and powerful enough to run a serious operating system. Torvalds, then a computer science student at the University of Helsinki, had bought a 386 PC. He wanted to learn about the 386's protected mode and task-switching features, and he found MINIX useful but limited for his needs.

The Personal Motivation: A Hobby and a Learning Project

Torvalds has consistently described Linux as a hobby. In his famous 1991 Usenet post announcing the project, he wrote that he was "doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones." He wanted to understand how an operating system worked at a low level, and building one was a way to learn. He was particularly interested in the 386's memory management and multitasking capabilities, which MINIX did not fully exploit.

Another motivation was practical: he wanted to run Unix-like tools on his own machine without paying for a commercial Unix license. He had used Unix at the university and appreciated its design, but he could not afford a proprietary system for home use. Linux began as a terminal emulator and file transfer program, then grew into a full kernel.

The Role of the GNU Project and Free Software

Torvalds did not build Linux in a vacuum. The GNU Project, founded by Richard Stallman in 1983, had already created many of the user-space tools that make a Unix-like system usable: the GCC compiler, the Bash shell, and various utilities. These were free software under the GNU General Public License (GPL). However, the GNU Project's own kernel, Hurd, was not yet ready. Torvalds used GNU tools to develop Linux, and later released Linux under the GPL, which allowed it to be combined with GNU software to form a complete operating system. This is why some people insist on calling the combined system "GNU/Linux."

How Linux Was Built and Shared

Torvalds developed the first version of Linux on his own, but he quickly opened it to contributions. He posted the source code online and invited others to test and improve it. The development model was collaborative from the start: people sent patches, reported bugs, and suggested features. This open development process, combined with the GPL, attracted a community of programmers who shared Torvalds's interest in a free Unix-like system for PCs.

The early versions were limited: Linux 0.01, released in September 1991, was not self-hosting and required MINIX to compile. Version 0.02 followed in October, and by 1992, Linux could run the X Window System. The first "stable" release, 1.0, came in 1994. Torvalds served as the project's lead coordinator, a role he continues in a similar form today as the maintainer of the Linux kernel.

Common Misconceptions About Linux's Origins

Several myths surround Linux's creation. One is that Torvalds set out to build a competitor to Windows or to create a commercial product. In fact, he was a student with no business plan; the project was non-commercial and community-driven from the beginning. Another misconception is that Linux was the first free Unix-like kernel. The GNU Project had been working on the Hurd, and other efforts existed, but Linux was the first to become widely usable on commodity PC hardware. Finally, some believe Torvalds wrote all of Linux himself. He wrote the initial kernel, but the system grew through contributions from thousands of developers worldwide.

Why Linux Succeeded Where Others Struggled

Linux's success was not inevitable. Several factors helped it: it was free, it ran on cheap hardware, it was open source, and it benefited from the GNU tools. Torvalds's decision to release it under the GPL ensured that improvements remained free and that the code could be shared legally. The collaborative development model, enabled by the internet, allowed rapid iteration. Timing also mattered: the PC market was exploding, and universities and businesses were looking for affordable Unix alternatives.

Frequently Asked Questions

Did Linus Torvalds create Linux alone?

He wrote the first version of the kernel himself, but Linux as a complete operating system includes many components from the GNU Project and contributions from thousands of developers. Torvalds has always acknowledged the collaborative nature of the project.

Was Linux originally called something else?

Torvalds initially named the project "Freax," a combination of "free" and "Unix." The name "Linux" was suggested by Ari Lemmke, who administered the FTP server where the first version was hosted, and it stuck.

What was Torvalds's goal with Linux?

His stated goal was to have a free, Unix-like operating system for his own PC and to learn about operating system design. He did not aim to create a commercial product or to compete with established systems.

Did Linux start as a hobby?

Yes. Torvalds described it as a hobby in his original announcement and has repeatedly said he never expected it to become widely used. It grew beyond his initial expectations.

Why is Linux free?

Linux is released under the GNU General Public License, which guarantees users the freedom to run, study, share, and modify the software. This licensing choice was influenced by the GNU Project and Torvalds's desire to keep the code open.

What was the first version of Linux like?

Linux 0.01 was a minimal kernel that could run on 386 hardware but lacked many features. It required MINIX to compile and had limited drivers. Over time, it gained networking, graphical interfaces, and support for more hardware.

In this article
  1. The Background: Unix, MINIX, and the PC Revolution
  2. The Personal Motivation: A Hobby and a Learning Project
  3. The Role of the GNU Project and Free Software
  4. How Linux Was Built and Shared
  5. Common Misconceptions About Linux's Origins
  6. Why Linux Succeeded Where Others Struggled
  7. Frequently Asked Questions