Page 1 of 1

installing xampp on ubuntu 64 bit machine

PostPosted: 24. June 2013 15:03
by idletester
Hi all, I'm new to linux (ubuntu 12.10) and I am having trouble installing xampp on my machine. I used to use windows 7 and it installed there with no problem but since I have changed to Ubuntu things seem so awkward to install.

I did everything exactly as instructed. After downloading the xampp-linux-1.8.1.tar.gz file into downloads folder I used the terminal with su and entered my password and got: root@jimmy-desktop:/home/jimmy#

my next step was to enter: tar xvfz xampp-linux-1.8.1.tar.gz -C /opt

But when I did that I keep getting:
root@jimmy-desktop:/home/jimmy# tar xvfz xampp-linux-1.8.1.tar.gz -C /opt
tar (child): xampp-linux-1.8.1.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

I checked the downloads folder and the xampp-linux-1.8.1.tar.gz is there.
Someone please help me sort this out. What am I doing wrong?
Not too sure if I should have changed from Windows 7 to Ubuntu now?
Kind regards,
Jimmy.

Re: installing xampp on ubuntu 64 bit machine

PostPosted: 24. June 2013 15:59
by Altrea
Hi,

You have to execute the command from the folder the downloaded file is saved in.

Best wishes,
Altrea

Re: installing xampp on ubuntu 64 bit machine

PostPosted: 24. June 2013 18:00
by idletester
You are a star Altrea. I will remember that. Big thank you! It worked great you got 10 out of 10 top of the class! :)
Kind regards, Jimmy.

P.S. I dumped windows 7 and tried 8 which is just a ripped down version of 7. Windows was always crashing and getting a bit slow after a while so using Linux for ever from now on. Not only is it free it can be ported from one machine to another without any trouble. I've been writing some PHP stuff and used xampp on the windows machines. So when I changed to Ubuntu I already have the htdocs in the xamp folder with all my work in it so the transition with Ubuntu is a little easier. Thanks again! :)