whatis package-manager

Package Manager

The tool that installs, updates, and removes software on Linux while resolving dependencies, such as apt, dnf, pacman, or zypper.

What Is a Package Manager in Linux?

Instead of downloading installers from websites, Linux users install software from their distro's repositories with one command. The package manager fetches signed packages, installs their dependencies, tracks every file, and updates everything at once.

Each distro family has its own: apt for Debian and Ubuntu, dnf for Fedora and RHEL, pacman for Arch, zypper for openSUSE, and apk for Alpine. Flatpak and Snap add cross-distro app stores on top.

Example

sudo apt install htop
sudo dnf install htop
sudo pacman -S htop