diff --git a/cheat/cheatsheets/dpkg b/cheat/cheatsheets/dpkg new file mode 100644 index 0000000..76eca1b --- /dev/null +++ b/cheat/cheatsheets/dpkg @@ -0,0 +1,11 @@ +# 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 +dpkg -s test.deb | grep Status