ゆるテックノート

What is Linux? Kernels and distributions explained

A Linux security notice may mention a Linux kernel release alongside an Ubuntu release. Knowing what each piece of software does helps you identify which release applies to your system.

The kernel connects applications to hardware

Linux originally names the kernel, the core of the operating system. The kernel manages CPU time and memory for running programs. A web server, for example, uses the networking features provided by the kernel. A shell reads and runs commands. Like a web server or browser, it uses services provided by the kernel.

Shells and applications use the Linux kernel, which manages resources such as the CPU, memory, and network hardware.
Applications use kernel services when they read files or communicate over the network.

A distribution packages a usable system

Distributions such as Debian and Ubuntu combine the Linux kernel with shells, essential commands, libraries, and other software to provide an installable system. Depending on how you use it, you can also choose a desktop environment or server software. Packages are units of software distribution. Package managers handle installation, updates, and dependencies. Compare different distributions

Check the operating system and kernel

Identify the distribution

Run cat /etc/os-release to display OS information. For example, ID=ubuntu and VERSION_ID="24.04" identify Ubuntu 24.04. If /etc/os-release is absent, check /usr/lib/os-release. os-release specification

Identify the running kernel

Run uname -r to display the release of the kernel currently running. Systems on the same Ubuntu release may report different values depending on when they were installed and which kernel updates are in use. uname manual

Find the version that matters for an update

For a kernel advisory, check the running kernel and the fixed package from its distributor. For an application such as NGINX, identify where the application came from and check its package version. See how to check the installed package. Linux kernel documentation