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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store