How to install XAMPP on Linux

Installing and using XAMPP application on Linux is slightly different from any other operating system. Specially for those who are not familiar with Linux or new to this ecosystem. Some might find it a bit complex or challenging as well. On this post I will share step by step process following which any one should be able to download and get started with this application on Linux environment.

Step 1: Download the XMAPP version for Linux from the Apache Friends website.

Step 2: Open the terminal and navigate to the "Downloads" folder using the following command.

cd ~/Downloads

You can also use "Nemo" and manually navigate to the "Downloads" folder. Then press the right button of your mouse and select "Open in Terminal" option.

Step 3: Type the following command in order to make the installer executable.

chmod +x xampp-linux-x64-*-installer.run

The "*" represents the file version number of the downloaded application.

Step 4: In order to start the installation process type the following command.

sudo ./xampp-linux-*-installer.run

The GUI of the setup window will show up. Follow the on-screen instructions and finish the installation process.

Step 5: To start the Apache and other services use the following command.

sudo /opt/lampp/lampp start

Similarly, to stop the running services use the following command.

sudo /opt/lampp/lampp stop

Step 6: To launch the GUI of the XAMPP application, you can run the following command. This will allow you to start or to stop any other additional services, configure them or even to check the log file.

sudo /opt/lampp/manager-linux-x64.run

That is pretty much all you need to know to get started with XAMPP on a Linux based computer.

Related

Comments

Comments list