phpmyadmin comes with simple command line instruction to install it
sudo apt-get install phpmyadmin
But once we have installed it, there might be times the installation misses some part of the apache config and will be difficult to access it.
Follow this link for solution
accessing phpmyadmin