Pcornel
Browse topics
Options
Recent
Favorites
Linux · Technical reference

Distributions

Direct answer

A distribution packages the kernel, libraries, tools and defaults into a system: Debian/Ubuntu (apt, .deb), RHEL/Rocky/AlmaLinux/Fedora (dnf, .rpm), SUSE (zypper), Arch (pacman). Releases decide versions and support life.

When to use this

Use it when instructions differ between systems, or to check whether a release is still supported.

First 30 seconds

1. cat /etc/os-release — ID and VERSION_ID?

2. Map the guide to this family: apt vs dnf, apache2 vs httpd, ufw vs firewalld, AppArmor vs SELinux.

3. Release still supported? Check the vendor's lifecycle page.

4. Updates working: apt update / dnf check-update.

5. Plan an upgrade if end of life is near.

Operational verification

distribution and release identified → matching commands and paths used → packages from supported repositories → release within support

Evidence · next step

For Linux Fundamentals → Distributions, continue with the first unproven Topic check: Record distribution ID/release, architecture and support channel before applying distro-specific instructions. If that boundary is healthy, advance to the adjacent check: Identify package manager/repository and init/service conventions used by that distribution. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
linux
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformlinux
Scope / prerequisiteUse it when instructions differ between systems, or to check whether a release is still supported.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

5 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

distribution family/release → repositories/package policy → installed kernel + user-space versions → init/configuration conventions → effective runtime → workload result

Healthy evidence: distribution/release and architecture are explicit, distro-specific conventions match the host, and actual component versions/runtime state are independently verified where relevant.

Step 2 Verification and output interpretation Verify boundary

Existing fast checks for this Topic. - Record distribution ID/release, architecture and support channel before applying distro-specific instructions.

  • Identify package manager/repository and init/service conventions used by that distribution.
  • Verify actual kernel/tool/library versions when behavior depends on them instead of inferring from the distribution label.
  • After applying distro-specific guidance, verify the effective service/application result on the target release.

Verification chain. distribution family/release → repositories/package policy → installed kernel + user-space versions → init/configuration conventions → effective runtime → workload result

Step 3 Commands Verify boundary
cat /etc/os-release
Step 4 Failure modes and next checks Narrow the fault

Suspicious evidence: instructions are copied across distributions without checking conventions, distro release is used as kernel version, or backported fixes are judged only by upstream version strings.

Step 5 Common mistakes Narrow the fault
  • Using instructions for another distribution family.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points

Check the release before following any guide: paths, service names (apache2 vs httpd), firewall tools (ufw vs firewalld) and security frameworks (AppArmor vs SELinux) differ. Use the distribution's packages rather than building from source where possible.

Key checks
  • cat /etc/os-release — ID, VERSION_ID and name
  • lsb_release -a — release details (if installed)
  • hostnamectl — OS, kernel and architecture in one view
ReferenceWhat it is1 section · depth on demand

Core model

Pin distribution family, release and architecture first; then identify the package/repository, init/service, filesystem/configuration and security-policy conventions relevant to the task. Verify the running kernel and actual tool versions independently because distributions can backport fixes and support multiple kernels or user-space versions.

ReferenceImportant terms & boundaries5 sections · depth on demand

What this shows and what it does not

Distribution identity selects the correct integration conventions, but it cannot by itself establish a kernel capability, installed package version or runtime state.

In depth

Linux distributions: families and how to tell them apart

A distribution combines the Linux kernel with a C library, an init system, a package manager, default configuration and a release and support policy. Scripts that must work on several distributions need a reliable way to tell which one they're on. The os-release(5) manual page provides it:

  • ID is a lower-case identifier such as debian, ubuntu, rhel or fedora.
  • ID_LIKE lists related distributions, closest first, so a script can handle a derivative in the same way as its parent.
  • VERSION_ID is the version as a machine-readable string, and VERSION_CODENAME is the codename where one exists.
  • PRETTY_NAME is meant for display.

The manual advises against parsing other files for this purpose.

Main families

FamilyExamplesPackagesPackage tool
DebianDebian, Ubuntu, Linux Mint.debapt, dpkg
Red HatRHEL, Fedora, CentOS Stream, AlmaLinux, Rocky Linux.rpmdnf, rpm
SUSESLES, openSUSE.rpmzypper
ArchArch Linux, Manjaro.pkg.tar.zstpacman
AlpineAlpine Linux (musl, BusyBox).apkapk

Practical differences

AreaDebian/UbuntuRHEL/Fedora
Web server package and userapache2, www-datahttpd, apache
Admin group for sudosudowheel
Default MAC systemAppArmorSELinux
Firewall front-endufw (Ubuntu)firewalld
Network configurationnetplan (Ubuntu), ifupdown (Debian)NetworkManager
initramfs toolinitramfs-toolsdracut

Release models

ModelMeaningExamples
Fixed release with long supportStable package versions, security fixes for yearsRHEL, Ubuntu LTS, Debian stable
Fast fixed releaseNew version about every six monthsFedora, Ubuntu interim releases
Rolling releaseContinuous updates, no major versionsArch, openSUSE Tumbleweed
host$ cat > /usr/local/bin/pkg-install <<'EOF'
#!/bin/sh
. /etc/os-release
case " $ID $ID_LIKE " in
  *" debian "*) exec apt-get install -y "$@" ;;
  *" rhel "*|*" fedora "*) exec dnf install -y "$@" ;;
  *" suse "*) exec zypper --non-interactive install "$@" ;;
  *" alpine "*) exec apk add "$@" ;;
  *) echo "unsupported distribution: $ID" >&2; exit 1 ;;
esac
EOF
host$ grep -E "^(ID|ID_LIKE|VERSION_ID)=" /etc/os-release
ID=rocky
ID_LIKE="rhel centos fedora"
VERSION_ID="9.5"

Why the script checks ID_LIKE

It matches on both ID and ID_LIKE, so Rocky Linux, with ID=rocky and ID_LIKE="rhel centos fedora", is handled as RHEL. It doesn't need its own case.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

How it works at runtime

Distributions is part of Linux Fundamentals → Distributions. Distributions package the Linux kernel with user-space tools, libraries, init/service defaults, repositories, policies and release lifecycles; the distribution defines integration choices but is not itself the kernel.

Topic-specific state model. Distributions package the Linux kernel with user-space tools, libraries, init/service defaults, repositories, policies and release lifecycles; the distribution defines integration choices but is not itself the kernel.

Interpretation rule. - Distribution version ≠ kernel version.

  • Same upstream version string ≠ same patch set because distributions backport fixes.
  • Command name available on one distribution ≠ package/service/configuration path is identical on another.
  • Package installed from a repository ≠ repository policy or support lifecycle is appropriate for the host.

Quick reference

Distribution families:

FamilyExamplesPackagesDefault MACRelease model
Red HatRHEL, Rocky, AlmaLinux, Fedora, CentOS StreamRPM / dnfSELinuxRHEL: 10-year major releases
DebianDebian, Ubuntu, Mintdeb / aptAppArmorDebian ~2-year stable; Ubuntu LTS every 2 years
SUSESLES, openSUSERPM / zypperAppArmor (SELinux in newer SLE 16)Long-term enterprise
OthersAlpine (musl, apk), Arch (pacman, rolling)———
cat /etc/os-release

For servers choose a distribution with long support, predictable security updates and vendor/application support for your stack.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Limits and how it fails

Primary failure point. Distribution identity selects the correct integration conventions, but it cannot by itself establish a kernel capability, installed package version or runtime state.

ReferenceConfiguration & state1 section · depth on demand

Configuration, persistence and lifecycle

Distribution/platform context. Distributions owns release-family and integration context; package/repository operations, kernel behavior and service configuration belong in their specialized branches.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor doclinux current

Authoritative/upstream documentation reviewed for bounded claims in Linux Fundamentals → Distributions. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.kernel.org/ · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
linux distrolinux distributionsdistribution release linux
Embedded reference data

Quick lookup tables

Distributions operational reference

Topic-specific lookup boundaries, proof limits and next-step Evidence for Distributions.

Lookup boundaryTopic-specific referenceOperational use
Scope / effective stateDistributions package the Linux kernel with user-space tools, libraries, init/service defaults, repositories, policies and release lifecycles; the distribution defines integration choices but is not itself the kernel.Establish exactly what this Topic owns before crossing into another subsystem.
Fast verificationPin distribution/release + CPU architecture + running kernel → identify the exact process/session and kernel-versus-user-space boundary → capture shell/TTY mode and effective environment where relevant → resolve the real executable/consumer → correlate requested action with observed runtime state → verify the original workload result before changing persistent configuration.Use the shortest evidence path first; a fast check is a boundary test, not blanket proof.
Verification chaindistribution family/release → repositories/package policy → installed kernel + user-space versions → init/configuration conventions → effective runtime → workload resultTrace requested/configured state through effective state to the observed workload result.
Failure boundaryDistribution identity selects the correct integration conventions, but it cannot by itself establish a kernel capability, installed package version or runtime state.Stop broad troubleshooting at the first boundary that is not supported by evidence.
Positive evidenceCorrelated host, process/session and runtime evidence can establish this Linux Fundamentals proof path: distribution family/release → repositories/package policy → installed kernel + user-space versions → init/configuration conventions → effective runtime → workload resultUse this observation only for the specific claim it actually supports.
Evidence limitIt does not independently prove behavior outside the captured host, kernel, process/session, environment or workload scope. Distribution identity selects the correct integration conventions, but it cannot by itself establish a kernel capability, installed package version or runtime state.Do not promote a local success signal into end-to-end or adjacent-dependency proof.
Next troubleshooting checkContinue from the first unproven Linux layer: preserve platform identity and the running kernel, inspect the exact process/session and effective configuration/environment, resolve the actual consumer/executable, then verify the original workload before moving into the owning Linux subsystem branch.Continue to the next unresolved boundary while preserving the original test condition.

Distributions · operational reference

Compact Linux state, persistence, verification and boundary reference for fast lookup.

Reference boundaryDistributions
Topic pathLinux Fundamentals → Distributions
Runtime stateDistributions package the Linux kernel with user-space tools, libraries, init/service defaults, repositories, policies and release lifecycles; the distribution defines integration choices but is not itself the kernel.
Fast checks- Record distribution ID/release, architecture and support channel before applying distro-specific instructions. - Identify package manager/repository and init/service conventions used by that distribution. - Verify actual kernel/tool/library versions when behavior depends on them instead of inferring from the distribution label. - After applying distro-specific guidance, verify the effective service/application result on the target release.
Verification chaindistribution family/release → repositories/package policy → installed kernel + user-space versions → init/configuration conventions → effective runtime → workload result Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary.
Failure boundaryDistribution identity selects the correct integration conventions, but it cannot by itself establish a kernel capability, installed package version or runtime state. Boundary chain: process/context → userspace configuration → kernel subsystem/resource → device/network/filesystem dependency → effective state → original workload.
Persistence ruleProve which configuration source owns the state, then prove that the running consumer loaded or generated the intended state.
Confirmation

Confirm action

Continue?