dpkg
Debian package manager.
- Homepage: https://www.dpkg.org
- Doc: https://man7.org/linux/man-pages/man1/dpkg.1.html
- Repo
Installation
- Debian package:
dpkg
Usage
Short form
dpkg -s #1 Print status of all package(i.e., print `/var/lib/dpkg/status`)
dpkg -s <package> #2 Print <package> status
dpkg -l #3 Print list of installed packages(from `/var/lib/dpkg/status`)
dpkg -l "<pattern>" #4 Print list of packages matching <pattern>
dpkg -S "<pattern>" #5 Print list of packages which own files matching <pattern>
Long form
dpkg --status #1
dpkg --status <package> #2
dpkg --list #3
dpkg --list "<pattern>" #4
dpkg --search "<pattern>" #5