APT and DPKG Guide (Debian/Ubuntu)

APT and DPKG Guide (Debian/Ubuntu) Introduction apt and dpkg are core tools for package management on Debian and Ubuntu systems. apt update refreshes the package index from configured repositories, ensuring you have the latest package information. dpkg manages .deb packages, allowing direct installation, removal, querying, or identifying file ownership. This guide covers using apt update and dpkg, with use cases like system updates, manual .deb installation, searching for packages, finding file ownership, adding/removing external repositories, and determining which repository provides a package. ...

October 4, 2025 · 8 min · 1673 words · Manzolo