LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to extract tar.gz file ???/ (https://www.linuxquestions.org/questions/linux-software-2/how-to-extract-tar-gz-file-479038/)

wahaha 08-31-2006 03:41 AM

how to extract tar.gz file ???/
 
halo...i did download a file called graphviz-2.8.tar.gz
When i tried to extract the file by using command, i cannot do so.It shown as below:

[root@localhost mobilemesh-1.0]# tar -zxvf graphviz-2.8.tar.gz
tar: graphviz-2.8.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



May i know what is the difference between "tar -xvf" and "tar -zxvf" ???

dive 08-31-2006 03:50 AM

The z is for gzip files. Are you sure you are running the command in the same directory as the file - the error says it can't find it, not that it can't open it.

wahaha 08-31-2006 03:55 AM

ohhh.. now i did noticed it that i didn't type on the same directory. Thanks

But one thing i want to ask is when i able to extract the file, the extracted file seem like cannot move to others directory. It got a symbol on the extracted file like a 'red pen" seem like cannot edit the content of the file.

If i extracted the file by right click on it and choose extract, it did not have such symbol on the file. May be you might get confius with what i am trying to say.
Did you know why??????


Sorry to mentioned that i am using fedora core 4.

Redshift 03-30-2007 04:04 PM

Quote:

Originally Posted by dive
The z is for gzip files. Are you sure you are running the command in the same directory as the file - the error says it can't find it, not that it can't open it.

How does one navigate the directories? I'm having the same problem.

(Moreover, the flash plugin I installed the other day worked just fine after install-simple, too: just click a button and voila- but when I rebooted, no go. I've been googling it seems forever for something a newbie would understand on how to unzip the new download file, but I get the same response as the person above me did.) There's an explanation on the disappearing act somewhere, too, but I don't have it.

dive 03-30-2007 06:07 PM

cd = change directory, so

cd /path/to/file/

harshiloh 10-27-2007 08:13 AM

iam useing fedora7,while iam extracting "eclipse-java-europa-linux-gtk.tar.gz"

i can only get less amount of data, near 256 kb.its orginal size is 76mb.
so cant instal that software

harshiloh 10-27-2007 08:33 AM

iam using fedora7,
i try to extract "eclipse-java-europa-linux-gtk.tar.gz",its file is 76mb,

but after extracting its only below .5mb,
so cant hav to install


All times are GMT -5. The time now is 06:49 AM.