LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-11-2010, 02:38 AM   #1
raghulrajan
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Rep: Reputation: 0
Question how to unzip .src.tar.gz file/software


I have a linux based software that ends with extension .src.tar.gz.
The installation instruction ask me to type the following command
>tar -xzf augustus.2.1.src.tar.gz

to unzip and it shows error like

root@raghul-laptop:~# tar -xzf augustus.2.1.src.tar.gz
tar: augustus.2.1.src.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2


I am a migrator to linux and just 2 days of experience in it. I am a microsoft windows spoonfed lazy junkie. I find it quite difficult to know what exactly this system contains.I tried linux.org tutorials and my terminal is always sending errors. I use Ubuntu netbook remix version.
Most Importantly i want to stay in LInux
 
Old 02-11-2010, 02:51 AM   #2
sohail0399
Member
 
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
Are you on the same path where file exist?
 
Old 02-11-2010, 06:48 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Also, double check the name; go to the dir the file is in

cd /path/to/dir

(NB: Linux uses '/' instead of '\' to separate dirs)


then list files in long format

ls -l

and post the results
 
Old 02-12-2010, 09:22 AM   #4
pliqui
Member
 
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

Rep: Reputation: 17
You need to gzunip first then untar

Code:
root@raghul-laptop:~# gunzip augustus.2.1.src.tar.gz
then

Code:
root@raghul-laptop:~# tar -xvvf augustus.2.1.src.tar
With the -z option should run it with gzip as the man page says
Quote:
-z, --gzip, --gunzip, --ungzip
filter the archive through gzip
Do it that way and see if you can gunzip it

Last edited by pliqui; 02-12-2010 at 09:24 AM.
 
Old 02-12-2010, 09:26 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
@ pliqui
the error is
Quote:
tar: augustus.2.1.src.tar.gz: Cannot open: No such file or directory
So the file can not be found.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to unzip binary tar-file? idaham Linux - Newbie 6 10-08-2009 07:30 PM
what is .tar file format and how do i unzip it jafryar Linux - Newbie 5 12-01-2007 06:45 PM
How to unzip all the src files in linux src folder? raj_ice Linux - Newbie 1 10-15-2004 10:46 AM
Why can't I unzip a .tar.gz file Dewar Linux - Software 8 09-18-2003 05:07 PM
unzip a tar.gz file klfreese Linux - Newbie 1 07-23-2003 12:35 AM


All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration