How to uninstall xampp in linux

DevOps

YOUR COSMETIC CARE STARTS HERE

Find the Best Cosmetic Hospitals

Trusted • Curated • Easy

Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.

“Small steps lead to big changes — today is a perfect day to begin.”

Explore Cosmetic Hospitals Compare hospitals, services & options quickly.

✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence

To uninstall XAMPP from your Linux system, follow these steps:

Step-by-Step Uninstallation Guide
Stop the XAMPP services:
Before uninstalling XAMPP, stop all running services to ensure a clean removal.

Open a terminal and run the following command:

$ sudo /opt/lampp/lampp stop

Remove the XAMPP directory:
Delete the entire XAMPP installation directory. By default, XAMPP is installed in the /opt/lampp directory.

Run the following command:

$ sudo rm -rf /opt/lampp

Remove the XAMPP desktop shortcut (if created):
If you have a desktop shortcut for XAMPP, remove it by running the following command:

$ rm ~/Desktop/xampp-control-panel.desktop

Remove XAMPP-related systemd services (if any):
If you created any systemd service files to manage XAMPP, remove them.

Run the following commands:

$ sudo systemctl stop xampp.service
$ sudo systemctl disable xampp.service
$ sudo rm /etc/systemd/system/xampp.service
$ sudo systemctl daemon-reload

Remove XAMPP symbolic links (if any):
If you created any symbolic links for XAMPP, remove them.

Run the following command:

$ sudo rm /usr/bin/xampp

Clean up residual files:
Check for any residual files or directories and remove them manually if necessary.

Example:

$ sudo find / -name ‘lampp’ -exec rm -rf {} +

Verification
Verify the uninstallation:
Ensure that the XAMPP directory has been completely removed.

Run the following command:

$ ls /opt

Check for running services:
Ensure that there are no running XAMPP services.

Run the following command:

$ sudo ps aux | grep lampp

Reboot (Optional)
Reboot your system to ensure that all changes take effect properly:

sudo reboot
By following these steps, you should be able to completely uninstall XAMPP from your Linux system. If you encounter any issues, double-check each step and ensure that all related files and services have been removed.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.