mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
rpm: add install package example (#3291)
This commit is contained in:
parent
d2520560a8
commit
a2f19059e3
1 changed files with 5 additions and 1 deletions
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
`rpm -qa '{{mariadb*}}'`
|
`rpm -qa '{{mariadb*}}'`
|
||||||
|
|
||||||
|
- Forcibly install a package regardless of currently installed versions:
|
||||||
|
|
||||||
|
`rpm -U {{package_name.rpm}} --force`
|
||||||
|
|
||||||
- Identify owner of a file and show version of the package:
|
- Identify owner of a file and show version of the package:
|
||||||
|
|
||||||
`rpm -qf {{/etc/postfix/main.cf}}`
|
`rpm -qf {{/etc/postfix/main.cf}}`
|
||||||
|
@ -20,7 +24,7 @@
|
||||||
|
|
||||||
- Show scriptlets from an RPM file:
|
- Show scriptlets from an RPM file:
|
||||||
|
|
||||||
`rpm -qp --scripts {{some.rpm}}`
|
`rpm -qp --scripts {{package_name.rpm}}`
|
||||||
|
|
||||||
- Show changed, missing and/or incorrectly installed files of matching packages:
|
- Show changed, missing and/or incorrectly installed files of matching packages:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue