cheat-fork-echo/cheat/cheatsheets/dpkg

12 lines
268 B
Plaintext
Raw Normal View History

2015-01-20 01:42:26 +01:00
# Install the package or upgrade it
dpkg -i test.deb
# Remove a package including configuration files
dpkg -P test.deb
# List all installed packages with versions and details
dpkg -I
# Find out if a Debian package is installed or not
2015-01-20 12:22:47 +01:00
dpkg -s test.deb | grep Status