Page 1 of 1

can't untar xvfz xampp-linux-1.7.4.tar.gz

PostPosted: 14. March 2011 07:13
by ankitanand8888
Hi

I am trying to install xampp server,but when I entered:

tar xvfz xampp-linux-1.7.4.tar.gz -C /opt

I found this error message:

tar (child): xampp-linux-1.7.4.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


what is the problem actually?
I was used all as posted on apachefriends.org......

Re: can't untar xvfz xampp-linux-1.7.4.tar.gz

PostPosted: 14. March 2011 14:13
by Nobbie
ankitanand8888 wrote:what is the problem actually?


You downloaded the Xampp archive into a certain folder (i.e. "/home/user/Downloads" or "/home/user/Desktop" or similar, where "user" should be replaced by your real username), but you did not change directory into that folder before executing the tar command. That is the problem.

Unfortunately, this is very, very, very basic Linux knowledge - you should read some tutorials about Linux and more.

Re: can't untar xvfz xampp-linux-1.7.4.tar.gz

PostPosted: 29. March 2011 04:49
by P_sith
Thank you for posting this, I too am !NEW TO LINUX! and having this problem. instead of telling me i'm new can someone offer and positive advice on how to untar this file?.

Re: can't untar xvfz xampp-linux-1.7.4.tar.gz

PostPosted: 31. March 2011 07:50
by fanasticboy301
I'm newbie too ^^

first you need to take the root privillage
Code: Select all
$ sudo su

then type the password. and after that extract the tar file
Code: Select all
tar xvfz xampp-linux-1.7.4.tar.gz -C /opt

(Extract to /opt folder)
Finally run xampp
Code: Select all
/opt/lampp/lampp start

Re: can't untar xvfz xampp-linux-1.7.4.tar.gz

PostPosted: 31. December 2011 02:53
by Cecilia.euph
Nobbie wrote: but you did not change directory into that folder before executing the tar command..


Could you please tell me how to do that?

Re: can't untar xvfz xampp-linux-1.7.4.tar.gz

PostPosted: 31. December 2011 03:34
by smashpunk
Cecilia.euph wrote:
Nobbie wrote: but you did not change directory into that folder before executing the tar command..


Could you please tell me how to do that?


He mean you should run tar command with exactly path of tar.gz file.
I suggest you can follow below steps:
1.change to root user,using `su - root`
2.change your working directory to the folder which contains tar.gz file, using `cd`
3.then run tar xvfz xampp-linux-*.*.*.tar.gz -C /opt