mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-16 08:58:35 +01:00
commit
1fd03d3305
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 | grep Status
|
Loading…
Reference in a new issue