mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
Add cheat for dpkg
This commit is contained in:
parent
be2cb6e632
commit
710c7bcf70
11
cheat/cheatsheets/dpkg
Normal file
11
cheat/cheatsheets/dpkg
Normal file
@ -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 | grepStatus
|
Loading…
Reference in New Issue
Block a user