mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-15 06:12:59 +00:00
16 lines
453 B
Plaintext
16 lines
453 B
Plaintext
# dpkg
|
|
# Package manager for Debian
|
|
|
|
# Display the package(s) in which the given file would be found. This is very
|
|
# useful, because it lets you know to which package a file belongs.
|
|
dpkg -S /usr/bin/awk
|
|
|
|
# Where FILE is the provided Debian package to install, so instructed by `-i`.
|
|
dpkg -i [FILE]
|
|
|
|
# List Debian packages currently installed.
|
|
dpkg --get-selections
|
|
|
|
# List Debian packages installed and in other states, such as not-yet-purged.
|
|
dpkg -l
|