dpkg Command Examples

Debian package manager. Some subcommands such as deb have their own usage documentation. For equivalent commands in other package managers, see https://wiki.archlinux.org/title/Pacman/Rosetta. More information: https://manned.org/dpkg.

dpkg -i {{path/to/file.deb}}

dpkg -r {{package}}

dpkg -l {{pattern}}

dpkg -L {{package}}

dpkg -c {{path/to/file.deb}}

dpkg -S {{path/to/file}}

dpkg -P {{package}}