1

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.

2 Answers 2

3

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

3
  • 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
    Commented Nov 30, 2010 at 16:54
  • Also by Software center and GDebi :) Commented Nov 30, 2010 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. Commented Nov 30, 2010 at 17:11
1

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

1
  • 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. Commented Nov 23, 2010 at 20:00

You must log in to answer this question.

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