Completely uninstall xampp if not installed from apt-get
Andrew Henderson
I've downloaded XAMPP from their website. And then manually installed it from my home directory and it is installed in /opt/lampp
I've made tons of changes and I don't remember how to revert back to it's default state, so I need a fresh new clean install.
Besides doing sudo /opt/lampp/lampp stop and sudo rm -R /opt/lampp.
Is there anything else that I should delete? Maybe from files that it might used from home directory?
Apart from that. Does doing above completely remove XAMPP from my system?
46 Answers
This should remove XAMPP completely as they provide the uninstaller files in /opt/lampp/
sudo chmod +x /opt/lampp/uninstall sudo /opt/lampp/uninstallThen you can make sure the unistallation is complete by doing user318149's answer above. cheers
sudo /opt/lampp/lampp stop, sudo rm -rf /opt/lampp and rm -rf ~/.lampp (Log files) did it for me. There is no Lampp/Xampp related configs/logs in ~/.cache or ~/.local/share
This is the full code to uninstall lampp..
sudo /opt/lampp/lampp stop
sudo chmod +x /opt/lampp/uninstall
sudo /opt/lampp/uninstall
sudo rm -R /opt/lampp You can uninstall Xampp in ubuntu by going to terminal: Ctrl + Alt + T then type:
cd /opt/lampp
sudo ./uninstallthen you get the xampp uninstaller and you can uninstall xampp. but, there are some leftover file in the lampp folder to remove it just type in terminal:
sudo rm -r /opt/lamppNow xampp is removed completely.
Lampp actually have an uninstaller files in /opt/lampp/named unintaller. Just change the mode using this command
cd /opt/lampp/to enter the directorysudo chmod +x uninstallerto change it into executable file./uninstallerto run the unistaller file
The default directory for XAMPP is “opt/lampp”.
Open the terminal and type
sudo /opt/lampp/lampp stop after this type
sudo rm -rf /opt/lampp