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 Learn more about Package Manager
- Understanding Linux Packages and Repositories Linux software is distributed as packages, installed from signed repositories, and managed by package managers. This guide explains how the whole system works, from .deb and .rpm files through to Flatpak, Snap, and building from source.
- Keeping Linux Updated Staying current with security patches is the single highest-impact thing you can do to protect a Linux system. This guide covers update commands for every major distro, how to automate security updates, and how to handle kernel updates safely.
- Updating Linux Safely Keeping a Linux system updated is straightforward -- until an update breaks something. This guide covers how to update safely, how to snapshot before major changes, how to hold back problematic packages, and how to recover when something goes wrong.