INSTALLING, CONFIGURING AND UNINSTALLING XAMPP IN UBUNTU

Nov 16th 22 byAdmin inUnuntu

Open terminal and execute following commands

for 32 bit wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/xampp-linux-1.8.3-2-installer.run/download

for 64 bit wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/xampp-linux-x64-1.8.3-2-installer.run/download

Then, executing the following commands will open the installer wizard

sudo chmod +x xampp-linux-x64-1.8.3-2-installer.run sudo ./xampp-linux-x64-1.8.3-2-installer.run

Then to start with the projects, you have to change the permission for htdocs folder by

sudo chmod 777 -R /opt/lampp/htdocs

To Start and Stop Xampp, sudo /opt/lampp/lampp stop sudo /opt/lampp/lampp start

To get the GUI control panel of Xampp,

sudo /opt/lampp/share/xampp-control-panel/xampp-control-panel.py (make sure you have installed python in your computer to use this)

To Uninstall Xampp, use sudo -i cd /opt/lampp ./uninstall exit

Leave a comment

3 comments

MH
Mahmud Hossain
July 16, 2026

Well written. Bookmarked this for my team's reference. Looking forward to more content like this.

SB
Sumaiya Begum
July 15, 2026

Does this approach also work for larger datasets? Our team is dealing with something similar at scale.

RK
Rafiq Khan
July 14, 2026

Really insightful article! This is one of the clearest explanations I've come across. The examples make it very easy to understand.

AD
AdminAdminJuly 14, 2026

Thank you Rafiq! Glad it was helpful.