I want to know where I can find my installed application when I installed it on Ubuntu using package manager.
I installed RabbitMQ and ran locate rabbitmq
which gave me following result:
/home/anupamg/.m2/repository/com/rabbitmq
/home/anupamg/.m2/repository/com/rabbitmq/amqp-client
/home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2
/home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/_maven.repositories
/home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.jar
/home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.jar.lastUpdated
/home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.jar.sha1
/home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.pom
/home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.pom.lastUpdated
/home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.pom.sha1
/home/anupamg/Downloads/rabbitmq-server-generic-unix-2.4.0.tar.gz
To see all the files the package installed onto your system, do this:
To see the files a .deb file will install
To see the files contained in a package NOT installed, do this once (if you haven't installed apt-file already:
then
See this question for more
@drysdam
dpkg -L <package_name>
might be the best for your immediate problem, but you might like to read the Filesystem Hierarchy Standard, which describes where different types of files live in the filesystem.It is not definitive; it is just a descriptive account of the way things "mostly" are.
More specific to Ubuntu is the Ubuntu Server Guide, which will describe everything in enough detail. (So many of the other guides gloss over too many of the details, but this should be better.)
if you just want a single installed package, you can find the package name
then use dpkg --listfiles
The answer given by @Gilles is very useful (actually, the answer was improved over time).
Furthermore, I have a tip for the ones that don't want to install any auxiliary package (like the
apt-file
):As an example: http://packages.ubuntu.com/trusty/amd64/multipath-tools/filelist
Here's one way to do it for packages you don't have installed yet. Just change "autoconf" below for the package you are trying to get the list of files for:
Use the
synaptic-package-manager
:Assuming that we'd like to locate the files of the autotools-dev package, under 'Quick filter' enter autotools-dev to locate it. The autotools-dev package appears automatically. Select it by clicking on it and then press 'Properties'. In the appearing dialog, select the tab 'Installed Files'.