unistall phpmyadmin in ubuntu 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 completely ubuntu
sudo rm -r /var/lib/dpkg/info/phpmyadmin.* \
&& sudo apt-get clean \
&& sudo apt-get update \
&& sudo apt-get remove phpmyadmin \
&& sudo apt-get purge phpmyadmin
sudo apt-get update \
sudo apt-get -f install \
sudo apt autoremove