package family
A group of distributions that share one package format and toolset, such as Debian-style (.deb with apt), Red Hat-style (.rpm with dnf) or Arch-style (pacman).
In more detail
Distributions in one family can often share instructions; across families, package names and commands differ. Identify the family before choosing a command, then use that family's documentation and repository policy. The /etc/os-release file names the family a distribution is like.
Example
debian=apt fedora=dnf arch=pacman maps each family to its usual high-level tool.Related terms
- package manager — A tool that installs, updates and removes software together with what it depends on, such as apt on Debian, apk on Alpine or Homebrew on macOS.
- Linux distribution — A complete operating system built around the Linux kernel, such as Debian, Ubuntu or Alpine Linux.
- /etc/os-release — A small text file of name=value lines that tells programs and people which distribution and version a Linux machine runs.
- software package — An archive containing a program's files plus metadata: its name, version, dependencies and scripts to run on install or removal.
Taught in
- Three Families: apt, dnf And pacman — Linux Fundamentals & Systems Administration