mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
fix: missing command
This commit is contained in:
@@ -8,14 +8,21 @@
|
|||||||
## TL;DR
|
## TL;DR
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# list all installed packages
|
# List all installed packages.
|
||||||
rpm --query --all
|
rpm --query --all
|
||||||
|
rpm -qa
|
||||||
|
|
||||||
# list files installed by a package
|
# List files installed by packages.
|
||||||
rpm --query --list package
|
rpm --query --list 'package_name'
|
||||||
|
rpm -ql 'parallel'
|
||||||
|
|
||||||
# find the package owning a file
|
# Find which package owns a file.
|
||||||
rpm --query --file /usr/bin/file
|
rpm --query --file '/path/to/file'
|
||||||
|
rpm -qf '/usr/bin/realm'
|
||||||
|
|
||||||
|
# List the contents of locally available RPM packages.
|
||||||
|
rpm --query --list --package 'path/to/file.rpm'
|
||||||
|
rpm -qlp 'downloads/foo.rpm'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Further readings
|
## Further readings
|
||||||
|
|||||||
Reference in New Issue
Block a user