mirror of
https://github.com/Erreur32/cheat.git
synced 2025-01-03 11:32:17 +01:00
Add cheat for dpkg
This commit is contained in:
parent
be2cb6e632
commit
710c7bcf70
1 changed files with 11 additions and 0 deletions
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 a new issue