Linux Ubuntu

Install XAMPP in Ubuntu 20.04

Step 1: Download XAMPP

Download XAMPP from official website

Step 2: Run the downloaded Installer
//navigate to Downloads folder
cd /home/user/Downloads
//ls to see all the files
//make downloaded XAMPP runnable 
sudo chmos +x
//run the installer 
sudo ./

Setup wizard will open, follow the installation instruction. Click next.

Click next.

Click finish.

Setup is ready.

Step 3: Start XAMPP

Start XAMPP using command

sudo /opt/lampp/lampp start


Navigate to http://localhost, it shows XAMPP is installed properly

To stop server

sudo /opt/lampp/lampp stop


To use graphical interface for managing server

//to use graphical interface for managing server 
cd /opt/lampp
sudo ./ (or

Place project file under htdocs folder, and to run navigate http://localhost/project-folder

Uninstall XAMPP

Uninstall XAMPP using command

//navigate of XAMPP folder
cd /opt/lampp
//run unistaller


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.