How do I find out where to install a package via SSH? [closed]

3

I installed a package as in the example below:

$ apt-get install nome-pacote

But I can not find in which directory it was installed. Is there a command to find out where the package is?

Remembering that if I call the package it works normally, eg:

$ nome-pacote
    
asked by anonymous 17.06.2014 / 15:43

2 answers

4

According to this answer from the site SuperUser you can use the dpkg command with the -L parameter, like this:

dpkg -L <nome-do-pacote>

And to see where the source code is:

apt-get source <nome-do-pacote>
    
17.06.2014 / 15:50
0

Try using the which command or whereis .

    
17.06.2014 / 15:49