whatis repository

Repository (Repo)

Also known as: repo, package repository, PPA, mirror

A signed collection of packages hosted by a distro or vendor that the package manager downloads software and updates from.

What Is a Linux Package Repository?

Repositories are listed in files like /etc/apt/sources.list.d/ or /etc/yum.repos.d/. Each has a signing key, so the package manager can verify nothing was tampered with in transit or on a mirror.

Adding third-party repos (PPAs, COPR, vendor repos) gets you software your distro lacks, but every repo you add is trusted to run code as root during installs, so add them sparingly.

Example

apt policy
dnf repolist