mirror of https://github.com/cheat/cheat.git
Add cheat for dpkg
This commit is contained in:
parent
be2cb6e632
commit
710c7bcf70
|
@ -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