New batchZero to DevOps starts 29 Nov · limited seatsReserve your seat
Cheat sheetsLinuxLinux
ProSheet 04 of 7

Package Managers

A comprehensive developer cheatsheet covering Linux package management systems across major distributions, featuring essential CLI commands, common flags, and operational workflows for installing, updating, querying, and removing software using apt (Debian/Ubuntu), dnf/yum (RHEL/Fedora), pacman (Arch Linux), zypper (openSUSE), and universal formats like snap and flatpak.

Understanding Package Managers

What is a Package Manager?

A package manager is a tool that automates the installation, upgrade, configuration, and removal of software packages on a Linux system.

Package Management Families

FamilyDistributionsPackage FormatTools
DebianUbuntu, Debian, Linux Mint.debapt, apt-get, dpkg
Red HatRHEL, CentOS, Fedora, Rocky Linux.rpmdnf, yum, rpm
ArchArch Linux, Manjaro, EndeavourOS.pkg.tar.xzpacman, yay (AUR)
SUSEopenSUSE, SLES.rpmzypper, rpm
UniversalAll distrosSnap, Flatpak, AppImagesnap, flatpak

Package Manager Terminology

TermMeaning
Repository (Repo)A server containing packages
DependencyOther packages required for installation
UpdateRefresh package lists from repositories
UpgradeInstall newer versions of installed packages
RemoveUninstall a package
PurgeRemove package AND configuration files

The rest of this sheet is locked4 Pro sheets unlock together, across every toolEveryPro sheet, every toolLifetimeone payment, no renewalNewsheets included as they shipOne-time payment · lifetime access
Linux cheat sheet: Package Managers | InfraThrone DevOps Park