How to Install XAMPP on Linux

Today's TipsMake will show you how to install and run XAMPP software on a Linux computer.

Install XAMPP

How to Install XAMPP on Linux Picture 1How to Install XAMPP on Linux Picture 1

Open the XAMPP download page. Visit https://www.apachefriends.org/index.html in your computer's web browser. This is the official software download page of XAMPP.

How to Install XAMPP on Linux Picture 2How to Install XAMPP on Linux Picture 2

Click XAMPP for Linux (XAMPP for Linux). This option is in the middle of the page. The XAMPP setup file will begin downloading to your computer.

You may need to click Save File or select the "Downloads" folder as your save location before continuing.

How to Install XAMPP on Linux Picture 3How to Install XAMPP on Linux Picture 3

Allow the download to complete. Once the XAMPP installation file is downloaded to your computer, you can continue.

How to Install XAMPP on Linux Picture 4How to Install XAMPP on Linux Picture 4

Open Terminal. Click the Terminal app icon, shaped like a black frame with a white ">_" inside.

Or you can just press Alt+ Ctrl+ Tto open a new Terminal window.

How to Install XAMPP on Linux Picture 5How to Install XAMPP on Linux Picture 5

Switch to the "Downloads" folder. Enter the command cd Downloadsand press ↵ Enter.

You need to make sure that "Downloads" is capitalized.

If the default download folder is another folder, you'll need to switch to that folder.

How to Install XAMPP on Linux Picture 6How to Install XAMPP on Linux Picture 6

Execute the downloaded file. Enter the command chmod +x xampp-linux-x64-7.2.9-0-installer.runand press ↵ Enter.

If you download a different version of XAMPP (for example, version 5.9.3), replace "7.2.9" with the actual version number.

How to Install XAMPP on Linux Picture 7How to Install XAMPP on Linux Picture 7

Enter the installation command. Enter sudo ./xampp-linux-x64-7.2.9-0-installer.runand press ↵ Enter.

How to Install XAMPP on Linux Picture 8How to Install XAMPP on Linux Picture 8

Enter your password when asked. Enter the password you use to log in to your computer, then tap ↵ Enter. The installation window will appear.

The characters in the password will not display in Terminal as you type.

How to Install XAMPP on Linux Picture 9How to Install XAMPP on Linux Picture 9

Follow the installation instructions. After the installation window appears, please:

Click Next three times.

Uncheck the "Learn more about Bitnami for XAMPP" box.

Click Next and then select Next again to begin installing XAMPP.

How to Install XAMPP on Linux Picture 10How to Install XAMPP on Linux Picture 10

Uncheck the "Launch XAMPP" box. This option is in the middle of the final settings window.

Because XAMPP requires a few additional steps to actually run on Linux, you need to complete the installation without automatically launching the software.

How to Install XAMPP on Linux Picture 11How to Install XAMPP on Linux Picture 11

Click the Finish button . It's at the bottom of the window. The installation window will close. Now, you are ready to launch XAMPP.

Launch XAMPP

How to Install XAMPP on Linux Picture 12How to Install XAMPP on Linux Picture 12

Reopen Terminal if necessary. If you closed the Terminal window after installing XAMPP, reopen Terminal.

XAMPP does not have any files outside the desktop, so you need to launch the program in the installation folder through Terminal every time you want to use it.

How to Install XAMPP on Linux Picture 13How to Install XAMPP on Linux Picture 13

Switch to the XAMPP installation directory. Enter the command cd /opt/lamppand press ↵ Enter.

How to Install XAMPP on Linux Picture 14How to Install XAMPP on Linux Picture 14

Enter the command "Open". Enter sudo ./manager-linux-x64.runand press ↵ Enter.

How to Install XAMPP on Linux Picture 15How to Install XAMPP on Linux Picture 15

Enter your password when prompted. Enter the password you usually use to log in to your computer, then tap ↵ Enter.

How to Install XAMPP on Linux Picture 16How to Install XAMPP on Linux Picture 16

Click the Manage Servers tab. This option is at the top of the window.

How to Install XAMPP on Linux Picture 17How to Install XAMPP on Linux Picture 17

Click the Start All option . It's at the bottom of the window. All XAMPP active components will start running.

How to Install XAMPP on Linux Picture 18How to Install XAMPP on Linux Picture 18

Open your computer's localhost site. Access 127.0.0.1 using your computer's web browser. The XAMPP dashboard will appear; At this point, you can start using XAMPP as you like.

3.5 ★ | 2 Vote