uninstall xampp on ubuntu using terminal command

165,515

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
Share:
165,515

Related videos on Youtube

Zohaib Khan
Author by

Zohaib Khan

We develop useful addons for #e-commerce and #CRM software to provide extra features.#PrestaShop,#Magento,#SuiteCRM,#VtigerCRM & #Android #apps For more information visit our website and feel free to contact on below URL https://www.hrms-systems.com. http://www.presta-addons-modules.com/en/ Best Regards, Shahab (Zohaib) Khan.

Updated on September 18, 2022

Comments

  • Zohaib Khan
    Zohaib Khan over 1 year

    I want to uninstall XAMPP on Ubuntu on VM. Please advise command to archive this.

    I have downloaded package using wget command and run sudo ./xampp-linux-1.8.3-2-installer.run. How to delete folder using terminal located at /opt/lampp?

    • Zohaib Khan
      Zohaib Khan almost 9 years
      I have downloaded package using wget command and run sudo ./xampp-linux-1.8.3-2-installer.run. How to delete folder using terminal located at /opt/lampp?
  • A.B.
    A.B. almost 9 years
    If I could solve your problem, then it would be nice if you'd mark my answer (✓). askubuntu.com/help/someone-answers ;)
  • Lova Chittumuri
    Lova Chittumuri over 4 years
    while i am uninstall the xampp i am getting "Installer payload initialization failed. This is likely due to an incomplete or corrupt downloaded file." Please help me on this.