How to install xampp on ubuntu

If you want to do a fresh installation, follow this step-by-step guide:

1. Download LAMPP-Server using this command in terminal

sudo apt-get install lamp-server

2. Go to and download the version of LAMPP software that you want for Linux (Ubuntu).

3. Open your Terminal and locate the file (by default it downloads into the Downloads folder)

cd Downloads/

4. Then execute this command in terminal

sudo chmod +x xampp-linux-*

You'll be asked for your system's password, type it.

5. Run the installer, but don't close the Terminal.

sudo ./xampp-linux-*

A dialog box will open, if you get an error, ignore it. In the dialog box, click next(for each step) and move through the process of installation. Once XAMPP is installed, click finish.

6. Go back to your Terminal and change the directory

cd /opt/lampp

7. To set a password, type

./lampp security

8. Press y (Enter) and enter a new password and re-enter this password again to confirm

9. Start XAMPP using the following terminal command

./xampp start

10. To start LAMPP, execute this command

sudo /opt/lampp/lampp start

To stop LAMPP, execute this command

sudo /opt/lampp/lampp stop

how to install xampp on ubuntu linux

Read more:
- command line interface (CLI) benefits
- 9 methods to reduce the file size of your game

Follow me to read our future blog posts by Click on Subscribe Above, or by follow ValueInBrief page on Facebook.