In the previous article you’ve seen how to setup a LAMP server. Now if you want to install phpmyadmin open your terminal and type
sudo apt-get install phpmyadmin
follow the screen.
Now, open browser go to http://localhost/phpmyadmin/
you are done with your phpmyadmin installation. now, login with the password you provided earlier.