Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to extract a tar file (.tgz) in windows? Is this possible, or do I have to get into a linux environment and extract it?

share|improve this question

migrated from stackoverflow.com Jan 18 '11 at 9:20

This question came from our site for professional and enthusiast programmers.

add comment

8 Answers 8

No, you don't need Linux, you can download a free tool like 7zip which is more than capable of extracting tar.gz/tgz content.

And, on the assumption that you're writing batch files to do this extraction (since this is a programming site rather than a general tools help forum), it has a nice command-line interface so that you don't have to worry about GUI rubbish.

share|improve this answer
1  
7-zip also has a native windows x64 version. –  Chuck Jan 18 '11 at 22:26
2  
+1 though GUI <> rubbish. –  Ulrich Gerhardt Nov 17 '11 at 13:27
    
@Ulrich You can use 7-Zip Theme Manager to paint it... –  Sachin Shekhar May 21 '13 at 2:46
add comment

You can use PowerArchiver 6.1 (freeware) or 7-zip (freeware).

share|improve this answer
add comment

I'd go with the previously mentioned 7zip, but you can also use WinZIP.

share|improve this answer
add comment

I always have the UnxUtils GNU utilities in my PATH on a Windows box.

UnxUtils includes tar and gunzip programs, among other things one can't live without after getting used to a Unix shell.

share|improve this answer
add comment

Unfortunately I have not found 7-Zip good for unpacking tar.gz'ed archives.

I tried piping 7-Zip's gzip extract to tar extract, but this can fail on archives larger than a couple of megabytes.

7z x %1 -so | 7z x -si -ttar

Even writing to temp instead of pipe, I have encountered failures.

My search goes on. 'Ch Shell' looks promising...

share|improve this answer
add comment

I use Universal Extractor I use that and 7-Zip for a lot of things.

share|improve this answer
add comment

You can check out the gow project. It provides a nice list of Unix utilities on Win32 system. Works quite well.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.