mirror of
https://github.com/Erreur32/cheat.git
synced 2025-01-03 11:32:17 +01:00
Add new 'rpm' cheatsheet
This commit is contained in:
parent
8dd00d8c9b
commit
db92b4c5d8
1 changed files with 14 additions and 0 deletions
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 a new issue