$linuxjunkies
>

package manager

also: package management system, software package manager, apt, yum, dnf, pacman

A software tool that automates the installation, upgrade, removal, and management of application packages on a Linux system. It handles dependencies, file placement, and system integration automatically.

A package manager is the primary way users and administrators install and maintain software on Linux systems. Instead of manually downloading source code and compiling, you specify a package name and the manager fetches it, resolves its dependencies, and installs everything in the correct locations.

Different Linux distributions use different package managers. Debian/Ubuntu systems use apt or dpkg, while Red Hat/CentOS systems use yum or dnf. Arch Linux uses pacman. For example, on Ubuntu you might run sudo apt install vim to install the vim text editor and all its dependencies automatically.

Package managers maintain a database of available packages and their versions, track what's installed on your system, handle updates efficiently, and can cleanly remove software with remove or uninstall commands. This centralized approach prevents version conflicts and keeps your system organized.

Related terms