โ† Operating System Basics: From Zero to Hero
Level 1 ยท Zero: Getting Started

Meet the Linux Family

Lesson 5 of 14 ยท โฑ 9 min

You learned that Linux began in 1991. But when people say "I use Linux", they usually mean a distribution, or distro for short. Let's find out what that is and which one you have! ๐Ÿง

Kernel + helpers = a distribution

  • The Linux kernel is the heart. It talks to the hardware.
  • A distribution wraps the kernel with everything else you need: programs, a desktop, tools and an app store called a package manager.

Think of the kernel as an engine, and distributions as different cars built around it.

Operating systems grouped by device: laptops, phones, servers and tiny boards. Systems built on Linux are marked green.

Distro Where you find it
Ubuntu PCs, laptops and servers. Very popular and beginner friendly
Debian The solid base that Ubuntu and many others are built on
Raspberry Pi OS Raspberry Pi computers (built on Debian)
Fedora PCs and developers
Android Phones and tablets, built on the Linux kernel
ChromeOS Chromebooks, also built on Linux

๐Ÿงช Lab 1: which family member are you?

cat /etc/os-release

Find these lines:

  • NAME= and VERSION= is your distro and its version
  • ID= is a short name (like ubuntu or raspbian)
  • ID_LIKE= tells you its relatives. If it says debian, your distro is part of the Debian family!
uname -r
uname -m
  • uname -r is the kernel release (its version number).
  • uname -m is the machine type: x86_64 (typical PCs) or aarch64 (a Raspberry Pi 4 or 5, and many phones).

๐Ÿงช Lab 2: the package manager

On Ubuntu and Raspberry Pi OS, programs come from "package" stores, managed by a tool called apt.

apt --version

How many programs ("packages") are installed on your computer?

apt list --installed 2>/dev/null | wc -l
  • apt list --installed lists the installed packages.
  • | wc -l counts the lines (wc means word count, and -l counts lines).
  • 2>/dev/null hides any warnings. Think of /dev/null as a black hole for text!
ls /usr/bin | wc -l

This counts the programs you can run. Linux comes with hundreds of tools!

โš ๏ธ Installing needs permission. To install an app you would use sudo apt install ..., but only with a grown-up, and not today. Looking is safe.

๐Ÿงช Lab 3: be a family tree detective

Run cat /etc/os-release on another Linux machine too (a friend's, your school's, or a virtual machine). Compare the ID= and ID_LIKE= lines.

Why so many distros?

Because Linux is open source: anyone can take it, change it and share it. Some distros are for beginners, some for tiny computers, some for servers. Same engine, different cars!

Words to know

Word What it means
Distribution (distro) The Linux kernel plus programs, tools and a package manager
Package manager A tool that installs, updates and removes programs
Open source Code that anyone can read, use and improve

๐ŸŽฏ Quiz time!

1. What is a Linux distribution?
2. Which command tells you your distribution's name and version?
3. What does apt list --installed | wc -l do?
4. Why are there so many Linux distros?