dpkg
SafeQuery deb packages
dpkg -l | grep <pkg>
Lists/queries installed debs. -S maps files to packages; -i installs a local .deb.
Examples
dpkg -S /usr/sbin/nginxFind owning package
Syntax
dpkg [-l] [-S file] [-i file.deb]
Before you run it
Queries safe; -i may leave broken 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