Remove apache, phpmyadmin etc from ubuntu 16.04 Rumi, February 4, 2017 You can remove the packages in Ubuntu by executing the commands: dpkg --purge phpmyadmin dpkg --purge mysql-server dpkg --purge apache2.2-common Or You have option also to remove the following packages: sudo apt-get remove apache2* sudo apt-get remove phpmyadmin sudo apt-get remove mysql-server sudo apt-get remove php5 Or sudo apt-get --purge apache2* sudo apt-get --purge phpmyadmin sudo apt-get --purge mysql-server sudo apt-get --purge php5 Application Configurations (Linux) ApachephpUbuntu