package repository
A server that a package manager downloads software packages from.
In more detail
Each repository publishes a signed index of the packages it offers, and the package manager trusts only repositories you have configured, such as those listed under /etc/apt/sources.list.d or /etc/yum.repos.d. Adding a repository is a trust decision: its owner can then install code as root on your machine. Repository configuration is part of any change you review.
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.
- image repository — A named collection of related images in a registry, told apart by their tags, such as python with tags 3.12 and 3.13.
- convenience script — Docker official one-line installation script, meant for test machines rather than servers you care about.
- package signing — The use of cryptographic signatures on packages or repository metadata so a package manager can reject software that did not come from a trusted publisher.
- software package — An archive containing a program's files plus metadata: its name, version, dependencies and scripts to run on install or removal.
- PyPI — The Python Package Index at pypi.org, the public online catalogue from which pip downloads third-party packages.
- package mirror — A copy of a package registry that your organisation controls, which builds download from instead of the public registry.
Taught in
- Install Docker And Verify Your Environment — Docker Architecture & Production Containers
- What A Distribution Actually Is — Linux Fundamentals & Systems Administration
- What A Package Manager Guarantees — Linux Fundamentals & Systems Administration
- Three Families: apt, dnf And pacman — Linux Fundamentals & Systems Administration
- Dependency Risk And Typosquatting — Application Security & Threat Modeling for Engineers
- Lockfiles And Reproducible Builds — Application Security & Threat Modeling for Engineers