sudo apt-get install phpmyadminyou may face the problem that cannot access phpmyadmin.
Not FoundLet's check apache2 config file:
The requested URL /phpmyadmin was not found on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80
sudo nano /etc/apache2/apache2.conf
and search insert:
Include /etc/phpmyadmin/apache.conf
at the bottom of file. and restart apache2
sudo /etc/init.d/apache2 restart