How to Install XAMPP on Debian 10

In this article, we will have explained the necessary steps to install and configure XAMPP on Debian 10. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

XAMPP is a development tool for web developers especially targeted towards back-end web development. It is built by Apache Friends and basically serves as a local host or a local server. Through this local server, you can install this software on your system and test the clients or your website before uploading it to the remote web server or computer. XAMPP is most widely known by Windows users, but there are XAMPP packages for Debian Linux as well.

Install XAMPP on Debian

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

sudo apt update
sudo apt upgrade
sudo apt install net-tools

Step 2. Install XAMPP on Debian 10.

First, you should visit the XAMPP download page and download the XAMPP script:

sudo chmod +x

After setting up the permission run the file using the following command:

sudo ./

You will get the following screen then click on next:

Install XAMPP on Debian 10

Next, select components to install, it is recommended to leave it as default:

Install XAMPP on Debian 10

Then, you will be informed of the location where the XAMPP setup is going to be installed:

Install XAMPP on Debian 10

Here the installation process is started:

Install XAMPP on Debian 10

After completing the installation click on Finish to complete the setup:

Install XAMPP on Debian 10

Step 3. Launch XAMPP through the Terminal.

Starting XAMPP in Debian is very much easy. To start the XAMPP from the terminal on Debian run the following command:

sudo /opt/lampp/lampp start

Verify Installation:

Congratulation, you have learned how to install and configure XAMPP on Debian 10 Buster. If you have any questions, please leave a comment below.