rpm
SafeQuery RPM packages
rpm -qa | grep <pkg>
Mostly for queries: -qi details a package, -qf maps a file back to its owning package.
Examples
rpm -qf /usr/sbin/sshdWhich package owns this file
Syntax
rpm [-qa] [-qi pkg] [-ivh file.rpm]
Before you run it
Queries are safe; -e removal affects deps.
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store