command to 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: uninstall phpmyadmin
$ sudo apt-get purge phpmyadmin