Hacker News new | ask | show | jobs
by tung 5256 days ago
For future reference, you can list all of the files associated with a package using this:

    dpkg-query --listfiles package-name
Or use Synaptic's 'Installed Files' tab in the package detail dialog.
2 comments

I often find myself looking for the opposite mapping; to which package does /usr/share/foo/bar.blob belong?

   $ dpkg --search /etc/apt/
   debconf, apt: /etc/apt
I prefer "apt-file search" which is much faster than "dpkg -S" at the cost of some disk space and having to periodically do "apt-file update".
apt-file search is [also] for uninstalled packages. If all you care about are packages actually installed use dlocate
Or:

    dpkg -L package-name