How to find the installation location of a package via SSH?

Asked

Viewed 351 times

3

I installed a package as in the example below:

$ apt-get install nome-pacote

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

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

$ nome-pacote

2 answers

4


According to this answer of the site Superuser you can use the command dpkg with the parameter -L, thus:

dpkg -L <nome-do-pacote>

And to see where the source code is:

apt-get source <nome-do-pacote>
  • It worked exactly as expected.

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.