Problem installing xampp

5,853

Here is how I did it.

Download XAMPP from here. Choose you correct version, 32bit or 64bit.

Once downloaded, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, navigate to where the file was downloaded, probably the Downloads folder, by typing cd Downloads and then run the command(s) below:

sudo chmod +x xampp-linux*installer.run
sudo ./xampp-linux*installer.run

And that should start the installer.

Share:
5,853

Related videos on Youtube

user279450
Author by

user279450

Updated on September 18, 2022

Comments

  • user279450
    user279450 over 1 year

    I want to install xampp on my ubuntu 14.04 LTS. I am new to Ubuntu and most of the times its easy but now i don't understand a thing.

    First i tried this tutuorial

    But on step 2 i got this in the terminal:

    chmod: cannot access ‘xampp-linux-x64-1.8.3-2-installer.run’: No such file or directory

    So i tried to download and install it from apachefriends.org

    Downloading was not a problem but installing it was.

    I followed the steps in the FAQ which was also a fail, after pasting the code in the terminal i got this:

    chmod: cannot access ‘xampp-linux-*-installer.run’: No such file or directory

    So, i hope someone here can tell me what i am doing wrong. (most of the times its me doing it wrong)

    I used xampp on windows and it always worked for me so it was my first choice here. If there are others that work better let me know.

    Over to you

    • Avinash Raj
      Avinash Raj almost 10 years
      Do you know the directory where xampp-linux-*-installer.run file is located?
  • user279450
    user279450 almost 10 years
    It works. But i dont have permissions to add or delete anything to htdocs. How do i solve that? It says owner: root.
  • Mitch
    Mitch almost 10 years
    Are you using sudo?
  • user279450
    user279450 almost 10 years
    I copied your code and pasted that in the terminal, so yes i guess. I must say that i have no idea what it means. I'm using Ubuntu since two weeks and for normal use it's easy and better than windows, but i must say in this case its a bit harder.
  • user279450
    user279450 almost 10 years
    Problem solved I got acces by typing cd /opt/lampp in the terminal and then sudo chmod 777 -R htdocs. I did some research and it is not that hard to understand the commands for the terminal. Thank you for your help!