mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-01 13:17:58 +01:00
Merge pull request #688 from AloisMahdal/add-rpm
Add page for `rpm` - RPM Package Manager
This commit is contained in:
commit
f6972e4794
1 changed files with 27 additions and 0 deletions
27
pages/linux/rpm.md
Normal file
27
pages/linux/rpm.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# 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-*}}'`
|
Loading…
Reference in a new issue