mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added rpm notes to the knowledge base
This commit is contained in:
20
knowledge base/linux/rpm.md
Normal file
20
knowledge base/linux/rpm.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# The RPM package manager
|
||||
|
||||
## TL;DR
|
||||
|
||||
```shell
|
||||
# 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
|
||||
Reference in New Issue
Block a user