complete uninstall of phpmyadmin code example
Example 1: uninstall phpmyadmin ubuntu
sudo apt-get purge phpmyadmin
Example 2: uninstall phpmyadmin
$ sudo apt-get purge phpmyadmin
sudo apt-get purge phpmyadmin
$ sudo apt-get purge phpmyadmin