mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
442826f609
Aim for 25 lines / 6 example limit. This also removes the problem of 2 commands per example by removing the relevant example altogether.
28 lines
477 B
Markdown
28 lines
477 B
Markdown
# rpm
|
|
|
|
> RPM Package Manager.
|
|
|
|
- Show version of httpd package:
|
|
|
|
`rpm -q {{httpd}}`
|
|
|
|
- List versions of all matching packages:
|
|
|
|
`rpm -qa '{{mariadb*}}'`
|
|
|
|
- Identify owner of a file and show version of the package:
|
|
|
|
`rpm -qf {{/etc/postfix/main.cf}}`
|
|
|
|
- List package-owned files:
|
|
|
|
`rpm -ql {{kernel}}`
|
|
|
|
- Show scriptlets from an RPM file:
|
|
|
|
`rpm -qp --scripts {{some.rpm}}`
|
|
|
|
- Show changed, missing and/or incorrectly installed files of matching packages:
|
|
|
|
`rpm -Va '{{php-*}}'`
|