# How to install Xampp on Ubuntu desktop tutorial

**URL:** <https://forum.kirupa.com/t/how-to-install-xampp-on-ubuntu-desktop-tutorial/222106>\
**Category:** random\
**Created:** [April 10, 2007, 9:30pm UTC](https://forum.kirupa.com/t/how-to-install-xampp-on-ubuntu-desktop-tutorial/222106 "2007-04-10T21:30:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisclick](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chrisclick/32/1991_2.png) [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Post date:** [April 10, 2007, 9:30pm UTC](https://forum.kirupa.com/t/how-to-install-xampp-on-ubuntu-desktop-tutorial/222106/1 "2007-04-10T21:30:15Z")

</div>

Hi everyone,  
In this tutorial I am going to tell you how to install Xampp (Lampp) on a Ubuntu machine 😛

**Step one - Download and move:**  
Download the Xampp for Linux tar.gz file ([link](http://sourceforge.net/project/downloading.php?groupname=xampp&filename=xampp-linux-1.6.tar.gz&use_mirror=puzzle))  
once downloaded do [COLOR=red] **NOT** [/COLOR] extract it, just move it into the Home on Ubuntu.

**Step two - Open the terminal and become root:**  
Open the terminal (Applications -\> Accessories -\> Terminal)  
you have to be the root admin to run the commands so type

```auto
su

```

now if you don’t know the password of the root account (at first I didn’t) enter this command:

```auto
sudo passwd root

```

enter your user password then enter the new root password.

**step three - Extracting and starting Xampp:**  
Once your logged in as the admin in the Terminal enter this command:

```auto
 [FONT=Verdana]tar xvfz xampp-linux-1.6.tar.gz -C /opt [/FONT]

```

[FONT=Verdana] now all the contents of that tar.gz file has been extracted to the /opt directory.[/FONT]  
[FONT=Verdana]now to start Xampp:[/FONT]

```auto
[FONT=Verdana]/opt/lampp/lampp start[/FONT]

```

[FONT=Verdana]after you entered that command you should see something like this:[/FONT]  
[FONT=Verdana]

```auto
[FONT=Courier New]Starting XAMPP 1.6...[/FONT]
[FONT=Verdana]LAMPP: Starting Apache...[/FONT]
[FONT=Verdana]LAMPP: Starting MySQL...[/FONT]
[FONT=Verdana]LAMPP started.[/FONT]

```

[/FONT]  
**[FONT=Verdana]step four - Test the Lampp installation:[/FONT]**  
[FONT=Verdana]open your browser you use (preferably Firefox) and enter [http://localhost/](http://localhost/) [/FONT]

[FONT=Verdana]I wrote this tutorial to you time as it took me around a whole day to find out how to install this.[/FONT]

or follow [Nokrevs version](http://www.kirupa.com/forum/showpost.php?p=2103720&postcount=17)🙂
