mirror of
https://github.com/cheat/cheat.git
synced 2025-04-08 10:44:02 +02:00

dpkg -I (capital i) is for showing information about a package. dpkg -l (lowercase l) is for listing packages matching given pattern. So, here is a fix for the typo.
12 lines
268 B
Plaintext
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
|