Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-05-2009, 09:43 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2009
Location: new york
Distribution: ubuntu 8.10
Posts: 9
Rep:
|
install error for xampp tar package
I get this error when trying to install package to /opt directory
root@vipjag2-laptop:/home/vipjag2# tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
tar: xampp-linux-1.7.1.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
the tar package is located on my desktop in ubuntu intrepid. any ideas?
|
|
|
|
05-06-2009, 12:07 AM
|
#2
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,360
|
Quote:
|
tar: xampp-linux-1.7.1.tar.gz: Cannot open: No such file or directory
|
Since you're running tar as root it's not a permissions problem, so it looks like the file you want to extract is not in the current directory.
|
|
|
|
05-06-2009, 12:16 AM
|
#3
|
|
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 3,097
Rep: 
|
Quote:
Originally Posted by vipjag2
I get this error when trying to install package to /opt directory
root@vipjag2-laptop:/home/vipjag2# tar xvfz xampp-linux-1.7.1.tar.gz -C /opt
tar: xampp-linux-1.7.1.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
the tar package is located on my desktop in ubuntu intrepid. any ideas?
|
Bathory is correct. You must run tar from the same directory that your tarball is in or else provide the full path to that tarball. You ran the tar program from you home directory but your tarball (according to what you wrote) is in
Code:
/home/vipjag2/Desktop/
So you need to run tar from that folder. That's your problem.
cheers,
jdk
|
|
|
|
05-06-2009, 12:29 AM
|
#4
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
The order of options is important - make sure the f option preceeds the filename, so try
tar xvzf xampp-linux-1.7.1.tar.gz -C /opt
|
|
|
|
05-08-2009, 08:58 AM
|
#5
|
|
LQ Newbie
Registered: Apr 2009
Location: new york
Distribution: ubuntu 8.10
Posts: 9
Original Poster
Rep:
|
install error for xampp tar package
I got the tar package installed in the /opt directory but I get this error when I try to start lampp.
root@vipjag2-laptop:/home/vipjag2# /opt/lampp/lampp start
bash: /opt/lampp/lampp: No such file or directory
hpw do I change to the lampp directory to run start?
Thanks for your earlier help.
Last edited by vipjag2; 05-08-2009 at 09:39 AM.
Reason: new info, typo
|
|
|
|
05-08-2009, 09:36 AM
|
#6
|
|
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 3,097
Rep: 
|
Quote:
Originally Posted by vipjag2
how do I change the directory to the desktop to install tar package? Thanks for your earlier help.
|
In a terminal type:
Code:
cd /home/vipjag2/Desktop
then type
Code:
tar zxvf xampp-linux-1.7.1.tar.gz
the follow the instructions of the tarball.
cheers,
jdk
|
|
|
|
05-08-2009, 09:55 AM
|
#7
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,360
|
|
|
|
|
05-10-2009, 08:43 PM
|
#8
|
|
LQ Newbie
Registered: Apr 2009
Location: new york
Distribution: ubuntu 8.10
Posts: 9
Original Poster
Rep:
|
install error for xampp tar package
bathory the output i get is:
root@vipjag2-laptop:/home/vipjag2# ls -l /opt/lampp
ls: cannot access /opt/lampp: No such file or directory
|
|
|
|
05-10-2009, 09:00 PM
|
#9
|
|
LQ Newbie
Registered: Apr 2009
Location: new york
Distribution: ubuntu 8.10
Posts: 9
Original Poster
Rep:
|
install error for xampp tar package
bathory I changed to the /opt/lampp directory and found it was empty so I extracted the tarball to that directory and started the lampp file and it started this time! Thanks for everyone's help. Consider this thread solved.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:45 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|