Table of Contents
Install XAMPP on Debian 10
Apache Friends has developed XAMPP which stands for Cross-Platform, Apache, MySQL, PHP, and Perl. By using this software you can test your web applications on your local system. Mostly XAMPP used on Windows machines but some packages are also available for Debian Linux. In this tutorial, you are going to learn how to install XAMPP on Debian 10.
Before you start to install XAMPP on Debian. You must have the non-root user account on your server/desktop with sudo privileges.
net-tools required by XAMPP running following command.
sudo apt install net-tools
First, you should visit the XAMPP download page and download the XAMPP script. At the time writing this tutorial the latest XAMPP version is
7.3.0. You can visit their download page if the new version is available.
To download XAMPP run following command in the terminal using
sudo wget https://downloadsapachefriends.global.ssl.fastly.net/7.3.0/xampp-linux-x64-7.3.0-0-installer.run?from_af=true
Now make the downloaded file executable by setting permissions to file:
sudo chmod +x xampp-linux-x64-7.3.0-0-installer.run
After setting up the permission run the file using the following command:
You will get the following screen then click on next.
Now it will ask you to select components to install, it is recommended to leave it as default and click on
In this step, you will be informed of the location where the XAMPP setup is going to be installed. Click on
Now it will ask you to install sponsored applications such as Drupal, Joomla, and WordPress. You can uncheck the checkbox if you don’t want these applications should be installed. Then click on the
Now you should click on
Here the installation process is started.
After completing the installation click on
Finish to complete the setup.
Start and Verify XAMPP installation
Stating XAMPP in Debian is very much easy. To start the XAMPP form terminal on Debian run following command.
$ sudo /opt/lampp/lampp start
http://localhost/ to see the XAMPP output screen.
To visit PHPMyAdmin visit following link
To uninstall XAMPP first navigate to
Now start uninstallation process running following command:
Now you will be prompted to confirm uninstalling XAMPP. Click on
Yes to uninstall XAMPP.
After completing the Uninstallation process run following command to remove
sudo rm -r /opt/lampp
You have successfully learned how to install XAMPP on Debian 10. If you have any queries regarding this then please don’t forget to comment below.