What Linux is: the kernel and the distribution
Why "Linux" names three different things: a kernel, the userland built around it, and the distribution that packages both into a system you can install.
What Linux is: the kernel and the distribution
The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.
Not started
What you'll learn
- Strictly, Linux is a kernel: the program that owns the hardware, schedules processes and hands out memory. It is licensed GPL-2.0 only, with an explicit exception for programs that merely use its system calls.
- Everything you type at a prompt runs in user space on top of the kernel: a C library, a shell, core utilities. On most distributions those come from the GNU project, which is why some people say GNU/Linux.
- The userland is swappable. Alpine runs the same kernel with musl and BusyBox instead of glibc and GNU coreutils.
- A distribution is the kernel plus a chosen userland, a package manager, a repository of pre-built software, defaults and a support policy. It is what you actually install.
- When someone says a thing works "on Linux", ask which of the three they mean: kernel version, C library, or distribution and release.
One word, three meanings
Ask three engineers what “Linux” is and you can get three correct answers. One means the kernel Linus Torvalds started in 1991. One means the whole system they log in to, with its shell and its tools. One means “Ubuntu” or “RHEL”, the thing they installed. Most confusion about Linux, from “works on my machine” to licensing questions, comes from mixing these up.
So start with the problem a computer has. Several programs want the CPU, the memory, the disk and the network at once, and none of them can be trusted to share politely. Something has to sit underneath, own the hardware, and hand out slices of it. That something is the kernel, and Linux, strictly, is a kernel.
The kernel
The kernel schedules processes, manages memory, drives devices through drivers, implements filesystems and the network stack, and enforces who may touch what. Programs never talk to the hardware directly. They ask the kernel through system calls, a fixed list of numbered requests such as “read from this file” or “start this program”. The lesson on kernel space, user space and system calls takes that boundary apart.
The kernel is developed in the open at kernel.org. When I checked on 2026-11-28, the release feed listed mainline 7.4-rc4, stable 7.3.6, and longterm branches going back to 5.10. Distributions usually ship one of the longterm branches and patch it themselves.
Its licence matters more than people expect. The kernel’s own licensing rules say it is provided under the GNU General Public License version 2 only, “with an explicit syscall exception”. That exception is why you can run a closed-source database on Linux: a program that only uses the kernel through system calls is not a derived work of it. Kernel modules are another story, and that comes up in the modules lesson.
The userland
A kernel on its own does nothing you can see. There is no shell, no ls, no way to log in. All of that is user space: a C library that wraps the system calls, a shell, core utilities, an init system. On most distributions the C library is glibc and the utilities are GNU coreutils, both from the GNU project. That is the reason for the “GNU/Linux” name. The argument over the name is old and mostly social. The technical point under it is real: the kernel and the userland are separate projects that happen to ship together.
You can see the separation without a Linux machine. I downloaded the official Debian 13 and Alpine 3.24 container images from Docker Hub’s registry with curl and unpacked them on a Mac. Neither image contains a kernel at all: Debian’s /boot is empty. Their userlands are very different:
| Debian 13 image | Alpine 3.24 image | |
|---|---|---|
| Packages installed | 78 | 16 |
| C library | glibc 2.41 | musl 1.2.6 |
ls, cp, sh and friends |
GNU coreutils 9.7, bash 5.2 | 304 symlinks to one busybox binary |
Those numbers came from reading each image’s package database (/var/lib/dpkg/status and /lib/apk/db/installed) and counting symlinks. Both are Linux systems. Both would run on the same kernel. They share almost no userland code.
This is also why a binary built on one can fail on the other. A program compiled against glibc names glibc’s dynamic loader as its interpreter. Alpine does not have that file. The execve(2) man page lists the result: ENOENT when “an ELF interpreter does not exist”, which the shell prints as a puzzling “not found” for a file that plainly exists. The shared libraries lesson explains the loader.
The distribution
Nobody installs “a kernel plus a C library”. You install a distribution: a team’s choice of kernel build, userland, init system, package manager, default configuration and installer, plus a repository of thousands of pre-built packages and a promise about how long they will ship security fixes. Debian, Ubuntu, Fedora, RHEL, Arch and Alpine are distributions. The next lesson compares them and their release models.
Think of it like cars. The kernel is the engine. Many manufacturers buy the same engine, and a mechanic who knows it can work on all of them. But the dashboard, the parts catalogue and the warranty differ by manufacturer, and you need to know which car you are standing next to. On a server, cat /etc/os-release tells you, and uname -r tells you the kernel version.
Why the distinction pays off
Most “Linux” problems live in exactly one layer. “The new network card is not detected” is a kernel and driver question. “This binary will not start” is often a C library question. “Where is the config file and how do I install this?” is a distribution question. Naming the layer tells you which documentation to open. A kernel bug report goes upstream or to your distribution’s kernel package. A packaging bug goes to the distribution.
About the video
The embed is Shawn Powers’s “What is Linux, and What is a Distro?!?”, January 2022, clipped to its “What is Linux” and “Linux distributions” chapters (about 8 minutes). It skips the intro and the closing desktop tour. Powers explains the kernel and distro split for people who have never used Linux. I judged it from the title, description and chapter list. The lesson goes further on licensing and on swapping the userland, which the video does not cover. English was judged from the title, channel and the original English audio track YouTube reports. Gary Explains, in deeper, spends eleven minutes on the GNU/Linux naming argument.
What was run here: the image downloads and the package and symlink counts on a Mac. The kernel versions are from kernel.org’s release feed and the licence wording is from the kernel’s documentation, both checked 2026-11-28.
Check yourself
A container image of Alpine runs on an Ubuntu host. Whose kernel does it use?
The host's. A container image carries a userland only, so the Alpine programs make system calls into the Ubuntu host's kernel.
Why can a proprietary program run on Linux without being GPL-licensed itself?
The kernel's licence carries an explicit syscall exception: user programs that only use the kernel through system calls are not derived works of it.
What are two things a distribution adds that the kernel does not provide?
Any two of: a package manager and repository, a C library and core utilities, an init system, default configuration, an installer, a release and security-support policy.
A binary built on Debian fails on Alpine with a confusing 'not found' error even though the file exists. Which layer differs?
The C library. The Debian binary asks for glibc's dynamic loader, which Alpine does not have because it uses musl.
Go deeper
Notes
Notes are saved to your account.
Everything else on this page works without one — progress and bookmarks keep themselves in this browser and come with you when you sign in. Notes are the one thing worth not trusting to a browser you might clear.
Your notes could not be loaded.