mirror of
https://github.com/cheat/cheat.git
synced 2024-12-19 03:05:06 +01:00
modified cheatsheets
This commit is contained in:
parent
ab86ac970d
commit
e1aec49ed6
@ -4,6 +4,9 @@ rpm -ivh <rpm>
|
|||||||
# To remove a package:
|
# To remove a package:
|
||||||
rpm -e <package>
|
rpm -e <package>
|
||||||
|
|
||||||
|
# To remove a package, but not its dependencies
|
||||||
|
rpm -e --nodeps <package>
|
||||||
|
|
||||||
# To find what package installs a file:
|
# To find what package installs a file:
|
||||||
rpm -qf </path/to/file>
|
rpm -qf </path/to/file>
|
||||||
|
|
||||||
@ -17,3 +20,12 @@ rpm -q --whatrequires <file>
|
|||||||
|
|
||||||
# To list all installed packages:
|
# To list all installed packages:
|
||||||
rpm -qa
|
rpm -qa
|
||||||
|
|
||||||
|
# To find a pkg's dependencies
|
||||||
|
rpm -i --test <package>
|
||||||
|
|
||||||
|
# Display checksum against source
|
||||||
|
rpm -K <package>
|
||||||
|
|
||||||
|
# Verify a package
|
||||||
|
rpm -V <package>
|
||||||
|
Loading…
Reference in New Issue
Block a user