mirror of
https://github.com/cheat/cheat.git
synced 2025-04-09 11:14:03 +02: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…
x
Reference in New Issue
Block a user