To uninstall xampp completely, you need to type sudo -i cd /opt/lampp ./uninstall and rm -r /opt/lampp commands on the ubuntu terminal window and hit enter.
How to Uninstall xampp in Ubuntu using Terminal
Here are some solutions to completely uninstall xampp in Linux ubuntu 20.04/22.04 system using terminal or command prompt:
- Solution 1 – Using /opt/lampp/uninstall
- Solution 2 – -i cd /opt/lampp ./uninstall
- Solution 3 – rm -r /opt/lampp to uninstall xampp ubuntu completely
Solution 1 – Using /opt/lampp/uninstall
First of all, open terminal or command prompt and execute the following command it to remove xampp from linux ubuntu system:
Solution 2 – -i cd /opt/lampp ./uninstall
If there is a problem with the first solution or does not completely delete xampp from ubuntu. So you can uninstall xampp by executing this command on the command line:
sudo -i cd /opt/lampp ./uninstall
Solution 3 – rm -r /opt/lampp to uninstall xampp ubuntu completely
In this third solution, you can also remove xampp from ubuntu with the command given below:
sudo rm -r /opt/lampp
If you’re looking to set up XAMPP on Ubuntu via terminal or command line, be sure to explore this resource => How to install XAMPP on Ubuntu 22.04 using Terminal.
Here is the video guide to completely remove xampp on ubuntu;
Through this tutorial, you have learned some easy ways to uninstall xampp from linux ubuntu using command prompt or terminal.