Ubuntu – Determine destination location of apt-get install

aptlocatesoftware installationtomcat

For some applications its fairly easy enough to locate where the application was installed to using the "which" command. However, some applications such as Tomcat are a little out of my league to locate.

I'm asking for particular methodology that can be applied to any apt-get install to locate where the binary, library, and support files are installed to.

The cause of this question is that I installed Tomcat7 and I can's seem to locate it and I have a list of customizations to perform.

Best Answer

You can run the command dpkg -L package to list all the files in the package. For example dpkg -L ubuntu-minimal will only list a couple of small files related to packaging, as it is only an empty meta-package that depends on other packages.

dpkg -L tomcat7

is probably what you want.

Related Question