-
Member
Tar?
Ok, in redhat how do i unzip a .tar.gz file becuase tar -zxvf does not work.
Any ideas?
thank you
Anthony
-
Re:Tar?
Unzip? Perhaps you mean decompress. tar.gz files should be uncompressed with 'tar xzf file.tar.gz' if this does not work your file could either be:
A) Corrupt.
B) Wrong exntesion.
C) All off the above.
What is the error that is printed out on your terminal?
-
Mentor
Re:Tar?
also try gunzip filename
and then
tar -xvf filename
maybe you don't have zlib installed...
-
Newbie
Re:Tar?
i¨m not at all sure if this helps, but as i'm getting help from people -i'll try to help a little myself :P (maybe you know all this already...)
but what i always use is:
gzip -d "filename"
tar -xvf "filename"
-as i understand it -what you have there is a file that has been compressed twice. -once with tar and then once with gzip.
-
Moderator
Good Guru
Re:Tar?
[quote author=slideshow-bob link=board=1;threadid=9541;start=0#msg87056 date=1090683518]
-as i understand it -what you have there is a file that has been compressed twice. -once with tar and then once with gzip.
[/quote]
Yes, correct. But you can just use "xvzf" and skip doing it twice. Z is for gzip format. See "man tar" for more info.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks