mirror of https://github.com/cheat/cheat.git
Add new 'rpm' cheatsheet
This commit is contained in:
parent
8dd00d8c9b
commit
db92b4c5d8
|
@ -0,0 +1,14 @@
|
|||
# To install a package:
|
||||
rpm -ivh <rpm>
|
||||
|
||||
# To remove a package:
|
||||
rpm -e <package>
|
||||
|
||||
# To find what package installs a file:
|
||||
rpm -qf </path/to/file>
|
||||
|
||||
# To find what files are installed by a package:
|
||||
rpm -qpl <rpm>
|
||||
|
||||
# To list all installed packages:
|
||||
rpm -qa
|
Loading…
Reference in New Issue