install phpmyadmin 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

Example 3: install phpmyadmin ubuntu 18.04

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

Example 4: 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.