uninstall xampp on ubuntu using terminal command

Solution 1:

As stated in this post:

To Uninstall Xampp, use

sudo -i 
cd /opt/lampp 
./uninstall

But I think you may simplify by just typing:

sudo /opt/lampp/uninstall

Solution 2:

Open a terminal and remove the folder with:

sudo rm -r /opt/lampp

That's all.

But since I do not know where you have downloaded the installation file, I can not prove what was also installed.

Solution 3:

Simply,

  1. Open Terminal

  2. Run command sudo /opt/lampp/uninstall

A popup of xampp will jump asking whether you are sure about this uninstallation.

Click yes

TADAA.. It's done.

Solution 4:

Open terminal and type the following commands to uninstall XAMPP:

  1. Change to the XAMPP directory:
    cd /opt/lampp
    
  2. Run the unistallation script:
    sudo ./uninstall
    
  3. Follow the prompts