install phpmyadmin apache2 and mysql on ubuntu 18.04 code example
Example 1: install phpmyadmin ubuntu
sudo apt-get install -y phpmyadmin
Example 2: install phpmyadmin ubuntu 18.04
$ sudo apt update
$ sudo apt-get install phpmyadmin php-mbstring php-gettext