Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where is the phpmyadmin installed when I run apt-get install phpmyadmin?

share|improve this question
up vote 7 down vote accepted

Use dpkg -L phpmyadmin to list the files installed by the package.

share|improve this answer
I want to move the phpmyadmin to /var/www which is the apache web root folder – dave May 27 '10 at 8:50
Why? The phpmyadmin Ubuntu package comes with a proper apache2 vhost configuration. Now if you really want to put everything in /var/www, maybe you should install it manually instead of using a package. – ℝaphink May 27 '10 at 9:30

You should be able to track down all details with this article,
How To Manage Packages Using apt-get, apt-cache, apt-file and dpkg Commands
(With 13 Practical Examples).

There is also a similar question here,
List of files installed from apt package.

You might find these pages useful,

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.