uninstall all apache2 php and phpmyadmin ubuntu code example
Example 1: uninstall phpmyadmin ubuntu
sudo apt-get purge phpmyadmin
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