Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-11-2010, 01:38 AM   #1
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 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, 01:51 AM   #2
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, 05:48 PM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,308

Rep: Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744Reputation: 2744
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, 08:22 AM   #4
Registered: Feb 2007
Location: Caracas, Venezuela
Distribution: Debian x64
Posts: 156

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

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

root@raghul-laptop:~# tar -xvvf augustus.2.1.src.tar
With the -z option should run it with gzip as the man page says
-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 08:24 AM.
Old 02-12-2010, 08:26 AM   #5
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

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


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 06:30 PM
what is .tar file format and how do i unzip it jafryar Linux - Newbie 5 12-01-2007 05:45 PM
How to unzip all the src files in linux src folder? raj_ice Linux - Newbie 1 10-15-2004 09:46 AM
Why can't I unzip a .tar.gz file Dewar Linux - Software 8 09-18-2003 04:07 PM
unzip a tar.gz file klfreese Linux - Newbie 1 07-22-2003 11:35 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:09 AM.

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