install phpmyadmin ubuntu 16.04 code example

Example 1: install phpmyadmin ubuntu 18.04

$ sudo apt update
$ sudo apt-get install phpmyadmin php-mbstring php-gettext

Example 2: install phpmyadmin ubuntu 18.04

sudo -i
apt-get install phpmyadmin php-mbstring php-gettext -y
exit

Example 3: install phpmyadmin ubuntu 18.04

Open a terminal window on your Ubuntu Server.
Issue the command sudo apt-get install phpmyadmin php-mbstring php-gettext -y.
When prompted, type your sudo password.
Allow the installation to complete.