ubuntu server 16.04 remove phpmyadmin code example
Example 1: remove phpmyadmin from ubuntu
#remove phpmyadmin
#1
sudo apt-get purge phpmyadmin
or
sudo apt-get remove phpmyadmin
#2
sudo apt-get autoremove
Example 2: 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.