cheat/cheat/cheatsheets/dpkg

12 lines
268 B
Plaintext

# 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 -l
# Find out if a Debian package is installed or not
dpkg -s test.deb | grep Status