PDA

View Full Version : [SOLVED] Command to get installation directory?



Davste
November 29th, 2010, 04:10 PM
Hello, does a command exist that will return the installation directory of an installed program? thanks :)

oldos2er
November 29th, 2010, 07:55 PM
which <program name> searches your PATH.

whereis <program name> is similar, but also tells you where the source, binary, and man pages are.

sisco311
November 29th, 2010, 08:08 PM
And

dpkg -L package-name
lists all files installed to your system from package-name.

Davste
November 29th, 2010, 10:31 PM
Thanks!