1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 23:17:58 +01:00

rpm: add install package example (#3291)

This commit is contained in:
mira01 2019-10-10 21:35:01 +02:00 committed by Marco Bonelli
parent d2520560a8
commit a2f19059e3

View file

@ -10,6 +10,10 @@
`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:
`rpm -qf {{/etc/postfix/main.cf}}`
@ -20,7 +24,7 @@
- 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: