How to install/setup latest version of PHPMyAdmin on Ubuntu 12.04 LTS (Precise Pangolin)
As the official installation packages of most linux distributions are usually totally out of date (but that’s pure intention, to provide extremely stable versions only) it might sense to install the latest version of certain package. Install the latest version of PHPMyAdmin via:
1. Add this package-repository to your system.
sudo add-apt-repository ppa:nijel/phpmyadmin
If you get an error message now, then please do an update first and install the python-software-properties, that need to be necessary to add a package repository:
sudo apt-get update sudo apt-get install python-software-properties
2. Update, regarless of what you did in step #1 (very important!):
sudo apt-get update
3. Check the available version, have a look on the “Candidate” line (you should see the latest version of the package):
sudo apt-cache policy phpmyadmin
4. Install PHPMyAdmin (follow the guidelines)
sudo apt-get install phpmyadmin
Check the installed version of PHPMyAdmin by opening PHPMyAdmin in the browser (version info is on the right side in the home screen):
http://YOUR_IP_OR_DOMAIN/phpmyadmin
Voila!
Please note: The nijel/phpmyadmin repository (which is used here) provides the very latest version of PHPMyAdmin. Usually the new version of PHPMyAdmin available a few days after it was been officially released.