remove apache, phpmyadmin etc from ubuntu 16.04
63,339
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
Related videos on Youtube
Author by
Muhammad Yousaf
Updated on September 18, 2022Comments
-
Muhammad Yousaf over 1 year
how to remove apache,phpmyadmin mysql completely. I have tried a number of things now I want to remove it completely and reinstall it
-
Rinzwind over 7 yearsAalways go for 'apt-get' when you have the option. Next: this does not remove the settings. That needs a "purge" too.
-
Marcelo Ágil over 5 yearsFor most commands you will need sudo in dpkg also.
-
Marcelo Ágil over 5 yearsAlso another tip: the dpkg command to remove apache didn't worked here so I change to "apache2" only and it worked.