repository
also: repo, package repository, software repository
A centralized storage location containing software packages, libraries, or configuration files that users can download and install. In Linux, repositories are typically hosted on remote servers and managed by package managers.
A repository (or repo) is a server or directory that stores compiled software packages and their metadata for distribution to users. Package managers like apt, yum, and pacman connect to repositories to fetch, install, and update software.
Linux distributions maintain official repositories with vetted, tested packages. For example, Ubuntu's repositories contain thousands of packages that you can install with apt install package-name. Users can also add third-party repositories to access additional software.
Each package in a repository includes the compiled binary, dependencies, version information, and checksums. The package manager reads repository metadata (indexes) to resolve dependencies and ensure you get compatible versions.
Example: sudo apt update downloads the latest package lists from your configured repositories, while sudo apt install nginx installs the nginx package from one of those repositories.