dpkg
- dpkg package pre-removal script returned error
- dpkg dependency problems not removing
- How to extract .deb file in Ubuntu?
To force delete a package, run
dpkg --purge --force-depends PKG_NAME
List all Installed packages
dpkg -l
List all files in a package
dpkg -L PKG_NAME
To find which package provides a file
dpkg -S /usr/bin/nmap