Linux Package Management: Understand State and Transactions
Package management tracks software files, metadata, dependencies and installation state, then applies planned changes through the distribution’s tools. Debian-family systems commonly pair APT with dpkg, while RPM-family systems use tools such as DNF and RPM. A metadata refresh, a completed package transaction and a working application are separate results.