Debian package manager (low level)
high risk
Installs .deb files and queries installed packages.
| Flag | Meaning |
|---|---|
-l | List packages |
-L | Files of a package |
-S | Which package owns a file |
-i | Install a .deb |
--purge --purge | Remove with config |
dpkg -l | grep nginxIs it installed? · explain & risk-check →dpkg -S /usr/bin/lsOwner · explain & risk-check →Reference text is hand-written and may be incomplete — check man dpkg for your version. Test destructive commands on a non-production system first.