software package
An archive containing a program's files plus metadata: its name, version, dependencies and scripts to run on install or removal.
In more detail
Debian-style systems use .deb packages and Red Hat-style systems use .rpm; Arch uses its own compressed format. The metadata is what lets the package manager resolve dependencies and later answer which package installed a file.
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.
- package database — The local record a package manager keeps of every installed package, its version and the files it owns.
- dependency — Anything a program needs in order to work, such as a library, a tool or another service.
- package repository — A server that a package manager downloads software packages from.
Taught in
- What A Package Manager Guarantees — Linux Fundamentals & Systems Administration
- Three Families: apt, dnf And pacman — Linux Fundamentals & Systems Administration