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

How to search for the installed software location (complete directory structure) by its name. Is there any command through which i can get complete details of all the file locations of the corrosponding software installed.

share|improve this question

I'd rather say dpkg -L {package}, as it's about Debian/Ubuntu. Got here.

share|improve this answer
But dpkg -L {package} shows the package installed by the synaptics package manager only. I installed some software which is not in synaptics package manager, how can i get that package installed location – dsharma Nov 30 '10 at 16:54
Also by Software center and GDebi :) – Victor Sergienko Nov 30 '10 at 17:06
But yes. If it wasn't a deb package, you're left with whereis. You can even install software by bare copying files, then you can only find its main binary with which <binary name>: there's no way system will know of other files. Or if you used alien, you can look it up. Or if you used "make install", then it's probably in spread over /usr/local/ subdirectories. But dpkg is the main Ubuntu way. – Victor Sergienko Nov 30 '10 at 17:11

whereis thissoftware (eg: whereis perl) will do it for individual, named apps.

share|improve this answer
@dsharma: As an example, whereis perl doesn't show /usr/share/man/man1/cpan.1.gz (and many more) while Victor's answer does. – Dennis Williamson Nov 23 '10 at 20:00

You must log in to answer this question.

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