Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

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.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: