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.

link|improve this question
feedback

2 Answers

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

link|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
feedback

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

link|improve this answer
2  
@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
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.