fix: missing command

This commit is contained in:
Michele Cereda
2023-08-04 20:56:53 +02:00
parent d79ad66ac6
commit 709e18e7b2

View File

@@ -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