Files
oam/knowledge base/rpm.md
2022-05-15 00:24:53 +02:00

21 lines
544 B
Markdown

# The RPM package manager
## TL;DR
```sh
# list all installed packages
rpm --query --all
# list files installed by a package
rpm --query --list package
# find the package owning a file
rpm --query --file /usr/bin/file
```
## Further readings
- [How can I list all files which have been installed by an ZYpp/Zypper package?]
[how can i list all files which have been installed by an zypp/zypper package?]: https://unix.stackexchange.com/questions/162092/how-can-i-list-all-files-which-have-been-installed-by-an-zypp-zypper-package#239944