Please enable JavaScript to use CodeHS

Digital Literacy in Real Life

How Linux Was Built by Volunteers

A 21-year-old student said his new project was "just a hobby." Then he did something generous: he let anyone read his code and help improve it. Thousands of people did.

Tech for good ~8 min Grades 4–8
The True Story

"Just a hobby"

It's the summer of 1991 in Helsinki, Finland. Linus Torvalds is 21 years old and studying computer science at the University of Helsinki. He's been building something on his own computer: the start of an operating system, the main software that runs a computer.

On August 25, 1991, he posts a message to an online discussion group called a newsgroup. It begins, "Hello everybody out there." He explains that he's making a free operating system. Then he adds that it's

Linus Torvalds, comp.os.minix newsgroup, August 25, 1991 (part of the message) "I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu)..."

He also asks other people what they'd like to see in it. That's the important part. Linus didn't keep his code secret. He shared it so anyone could read it, change it, and send back improvements. Starting in 1992, he released it under a license called the GNU General Public License. It says that anyone can use and change the code, as long as they share their changes the same way.

People started helping. First a few, then hundreds, then thousands. Volunteers fixed bugs and added features in their free time. Later, companies paid their own engineers to help too. Linus's "hobby" grew into the Linux kernel, the core of an operating system that now runs on computers all over the world.

It wasn't big and professional in 1991. It is now.

OPEN SOURCE
What happened
A student shared the code for his hobby operating system. Volunteers and companies helped it grow into Linux.
When
First announced August 25, 1991. Released under the GNU General Public License starting in 1992.
Where
Linus was a student at the University of Helsinki in Finland. The helpers were everywhere, connected by the internet.
Bonus fact
In 2005, Linus also created Git, a tool that helps many people work on the same code without getting in each other's way.

The Big Idea

Code anyone can read and improve

Every app and program is built from source code, the instructions a programmer writes. For most apps, the source code is kept private. Only the company can see it or change it. Linux is different.

Simple definition: open source means the source code is public, so anyone can read it, use it, and help improve it.

Closed source

Only the company that made it can see and change the code. If you find a bug, you can report it, but you can't fix it yourself.

Open source

Anyone can read the code. If you find a bug, you can suggest a fix. The project's leaders, called maintainers, review it and decide whether to add it.

Because so many people could help, Linux kept getting better. Today it runs in places you might not expect:

  • Android phonesAndroid is built on top of the Linux kernel.
  • Web serversMost of the computers that serve up websites run Linux.
  • SupercomputersIn November 2017, Linux was running on every one of the world's 500 fastest supercomputers.

Linux isn't the only open source project. The Firefox web browser, the Python programming language, and MediaWiki, the software that runs Wikipedia, are all open source too.


Interactive

Make your first fix

Here's a tiny made-up open source project. You're a brand-new contributor. Pick an issue, find the bug, choose a fix, write a commit message, and get your change reviewed by the maintainer.

STEP 1 OF 5: PICK AN ISSUE Progress: 0 / 5 Contributors: 41
joke-of-the-day by maintainer @pickle_prof A made-up class project for practice.

1 Pick an issue to work on

Issues are the project's to-do list. Which one should a new contributor try first?

That's how real open source projects grow: someone reports a problem, a contributor suggests a fix, a maintainer reviews it and asks for changes, and then it's merged. Linux has grown one reviewed change at a time, from thousands of people.


How You Can Join In

You don't have to write code to help

Open source projects need all kinds of help, and many welcome beginners. You'll usually need an account on a website to join in, so ask a grown-up to help you set it up and decide what's okay to share.

1

Report bugs politely

Found something broken? Say what you did, what you expected, and what happened instead. Say thank you. Remember, many helpers are volunteers.

2

Translate

If you speak more than one language, you can help a project's buttons and instructions make sense to more people.

3

Write docs

Docs are the instructions for using a project. Clear, friendly docs help newcomers, and fixing a confusing sentence counts as a real contribution.

4

Learn to code

Start with a beginner language like Python. Python itself is open source, so one day you could help improve the tool you learned on.

Remember: in open source, a kind message matters as much as clever code. Be polite in reviews, and say thanks when someone helps you.


Talk About It

Try it with your family or class

Pick one of these to talk about at dinner, in the car, or with a classmate.

  • Some games let players build their own levels or mods and share them. How is that like open source? How is it different?
  • Think of a group project at school. What would change if anyone in the school could see your work and suggest improvements?
  • Ask a grown-up: why might someone volunteer their time to improve software they'll never get paid for?

Your Turn

Check your understanding

Linus Torvalds said Linux was "just a hobby, won't be big and professional." In your own words, explain what open source means and why sharing the code helped Linux become so big.

Your answer:

Sample answer: Open source means the source code is public, so anyone can read it, use it, and help improve it. Because Linus shared his code, he didn't have to build everything alone. Thousands of volunteers and companies found bugs, fixed them, and added new features. All those small improvements added up, so Linux ended up running Android phones, most web servers, and supercomputers.


Check Yourself

Quick quiz

1. What does "open source" mean?

2. How did Linux grow from "just a hobby" into software that runs phones and supercomputers?

3. You find a bug in an open source app you like. What's the best first step?

You just made your first contribution

Linus started building Linux as a college student. For the final story in this series, meet an inventor who started even younger: a kid who built tools to test water for lead and to stop cyberbullying. Then you'll plan a tech-for-good idea of your own.

Part of the Digital Literacy in Real Life tutorial series.