Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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