To completely uninstall XAMPP from your Linux computer, you just need to run the following command. It is all about to remove lampp
directory. Because all of your xampp contents are located inside it.
sudo rm -rf /opt/lampp
Steps to uninstall XAMPP from Ubuntu
- First check if you have an active lampp directory
cd /opt/lampp
- Now uninstall lampp
./uninstall
Alternatively, run the following commandsudo rm -rf /opt/lampp
That’s it. It’s pretty simple to remove and uninstall XAMPP from Ubuntu, CentOS and other linux system. If you face any difficulty write that in comment and I will be happy to help.