This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
APT, is a package management system used on most Debian based distros.
It should not be mistaken with
apt, an APT tool which provides a high-level command line
interface for the package management system. It is intended as an end user interface and enables
some options better suited for interactive usage by default compared to more specialized tools like
apt-cache (which are both considered as lower-level and more backwards compatible,
so better suited for scripting).
Do not mistake
Aptitude, which not only has a command line interface but also a
Aptitude is considered a higher-level package manager that abstract more
Table of content¶
Full system update/upgrade:
Remove a package
List all installed packages:
List manually installed packages (not their dependencies):
Search package files¶
Search for a file
Install deb package¶
If you get dependencies errors when installing the deb package, you might want to force the installation anyway:
If this cheat sheet has been useful to you, then please consider leaving a star here.