Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This problem reoccurs to me every so often, and neither google nor man pages ever helped me to resolve it. The question is, how can I ask apt-get or his friends (apt-file or apt-cache) to give me a list of files installed by a given package? Say I just installed ivy and I want to find .jar, which must have come with it. locate ivy will return a lot info about kivy and other similarly named packages/files. Same problem with apt-file list. apt-cache show won't be too helpful either -- it gives a lot of info about the package, but none about it's files.

share|improve this question
    
Nevermind, I think I just found the answer: it should be dpkg -L PACKAGENAME as in question: superuser.com/questions/82923/…. I find it quite confusing to tell when I should use apt-get, and when I should go for dpkg. Once and for all it's clear to me that it's dpkg in this case. – Adam Kurkiewicz Feb 23 '14 at 18:46
up vote 0 down vote accepted

After you install a .deb package (regardless of source – apt or local), it's managed by dpkg:

dpkg -L packagename
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .