Skip to main content
RunBook Academy

LinuxI · FoundationsDistributions

Linux distributions and support lifecycles

Foundation⏱ ~6 minbashcataptdnf

What you'll learn

  • Compare the Debian and RHEL families on lifecycle, package format, and defaults
  • Locate the end-of-life date for any supported distribution
  • Plan a distribution upgrade using supported upgrade paths
  • Recognise the difference between upstream support and vendor support

Prerequisites

None — start here.

Verified against Ubuntu 24.04 LTS · Debian 12 (Bookworm) · RHEL 9.x · Rocky Linux 9.x · AlmaLinux 9.x · Linux kernel 6.1 LTS / 6.6 LTS · systemd 255+ · OpenSSH 8.7p1 (RHEL 9) / 9.6p1 (Ubuntu 24.04) · nftables 1.0.x · chrony 4.x · Pacemaker 2.1.x · Corosync 3.1.x · 2026-08-09

Not yet marked complete on this device.

The distribution you choose determines how long your hosts receive security updates, what package manager you use daily, and which vendor you call when something breaks. Choose deliberately.

The two production families

TraitDebian familyRHEL family
Package format.deb.rpm
Package managerapt / apt-get / dpkgdnf / yum / rpm
Default firewallufw (Ubuntu) / nftablesfirewalld
Mandatory access controlAppArmorSELinux
Default filesystemext4XFS
Init systemsystemdsystemd
Release cadenceUbuntu LTS every 2 years; Debian stable every ~2 yearsRHEL major every ~3-4 years; minor every ~6 months
Vendor support lengthUbuntu LTS: 5 years standard, up to 10 with extendedRHEL: 5 years standard, up to 10 with ELS / add-ons

Both families ship roughly the same kernel and GNU userland. The differences are configuration defaults, packaging conventions, and the identity of the vendor you escalate to.

Read-only / Safedistribution identity
$ cat /etc/os-release
NAME=Ubuntu
VERSION=24.04 LTS (Noble Numbat)
ID=ubuntu
VERSION_ID=24.04
VERSION_CODENAME=noble
UBUNTU_CODENAME=noble
SUPPORTED=1
PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy

Support lifecycles

A distribution’s end-of-life (EOL) date is when the vendor stops issuing security updates. After EOL, every unpatched CVE on that distribution is a permanent vulnerability.

DistributionReleasedStandard EOLExtended EOL
Ubuntu 22.04 LTS2022-042027-042032-04 (Legacy)
Ubuntu 24.04 LTS2024-042029-042034-04 (Legacy)
Debian 12 (Bookworm)2023-06~2026-06 (LTS through 2028-06)
RHEL 92022-052027-052032-05 (ELS)
Rocky Linux 9 / AlmaLinux 9follows RHEL 9follows RHEL 9follows RHEL 9

Choosing a distribution

The decision matrix is mostly about support commitments and operational tooling. The technical differences are second-order.

  1. Commercial support needed? RHEL has paid vendor support; Rocky/Alma are community rebuilds of RHEL. Ubuntu Pro is a paid add-on to Ubuntu
  2. What does the rest of the estate run? Mixing families multiplies operational cost. Pick one family unless there is a strong reason not to
  3. What are the upstream defaults your tooling assumes? Kubernetes, configuration management, and monitoring agents often assume one family
  4. What is the kernel release cadence your hardware needs? Newer hardware often needs newer kernels; LTS distributions backport rather than upgrade
  5. What is the security policy? SELinux (RHEL default) and AppArmor (Debian/Ubuntu default) are different. Standardise fleet-wide rather than disabling on a per-host basis

Upgrade paths

A distribution upgrade moves a host from one major version to the next (Ubuntu 22.04 → 24.04, RHEL 8 → 9). Distributions design these paths to be supported; jumping multiple majors or skipping releases is not.

The canonical upgrade commands:

Configuration changeUbuntu upgrade
# do-release-upgrade
Checking for a new Ubuntu release
No new release found

Illustrative output

Configuration changeRHEL upgrade
# dnf system-upgrade
Last metadata expiration check: ...
Dependencies resolved.
...

Illustrative output

Knowledge check

Knowledge check · 3 questions

  1. Q1. Which file is the canonical source of identity for a Linux distribution?

  2. Q2. Rocky Linux 9 and RHEL 9 ship the same kernel version on the same day.

  3. Q3. Which of the following signal that a distribution is approaching end-of-life? Select all that apply.

Passing score: 75%. Answers are checked in this browser.