dpkg Command Examples

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

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}}