Loading Depth Study
Preparing your workspace
Package managers automate the installation, upgrade, removal, and dependency management of software provided by a system distribution.
Linux distributions commonly provide package managers that work with trusted repositories. Package managers help install system tools and libraries while keeping track of versions and dependencies. Developers may also use language-specific package managers such as npm, but those manage project dependencies rather than the whole operating system.
On a Debian-based system, a developer may use apt to install Git, curl, build tools, or other system packages.
sudo apt update sudo apt install curl curl --version # On other distributions the package manager may differ.
The package manager refreshes package information, installs curl, and then verifies that it is available.