Man Pages & Cheat Sheets - dpkg


tags: [ packaging ]

To install or upgrade a package:

dpkg -i

To remove a package (including configuration files):

dpkg -P

To list all installed packages with versions and details:

dpkg -l

To determine whether a Debian package is installed:

dpkg -s | grep Status