mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
Add new 'rpm' cheatsheet
This commit is contained in:
parent
8dd00d8c9b
commit
db92b4c5d8
14
cheat/cheatsheets/rpm
Normal file
14
cheat/cheatsheets/rpm
Normal file
@ -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
Block a user