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

Problems with the Linux version of XAMPP, questions, comments, and anything related.

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

Postby ankitanand8888 » 14. March 2011 07:13

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......
ankitanand8888
 
Posts: 1
Joined: 14. March 2011 06:52

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

Postby Nobbie » 14. March 2011 14:13

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.
Nobbie
 
Posts: 6797
Joined: 09. March 2008 13:04

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

Postby P_sith » 29. March 2011 04:49

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?.
P_sith
 
Posts: 1
Joined: 29. March 2011 04:17

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

Postby fanasticboy301 » 31. March 2011 07:50

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
fanasticboy301
 
Posts: 1
Joined: 31. March 2011 07:47

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

Postby Cecilia.euph » 31. December 2011 02:53

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?
Cecilia.euph
 
Posts: 1
Joined: 31. December 2011 02:48
XAMPP Version: 5.6.3
Operating System: Ubuntu 11.10

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

Postby smashpunk » 31. December 2011 03:34

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
Xampp Version:1.7.7
Operation System:Fedora7
smashpunk
 
Posts: 5
Joined: 24. December 2011 08:47
XAMPP Version: 5.6.3
Operating System: Fedora


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests