Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
12 years, 6 months ago
I need to open a file that sadly is only available in the
.tar.gz file format and I am using Windows 7. I can unzip the file using
7-zip but after that I still have a
.tar file that I can't open in Windows.
Is there a way to open
.tar.gz files on Windows?
Nov 27, 2010 at 14:46
26.6k 51 51 gold badges 105 105 silver badges 125 125 bronze badges
You can use 7-zip to untar the .tar file as well.
Right-click the file
Select 7-zip -> Extract Here / Extract To
Nov 27, 2010 at 14:51
4,754 28 28 silver badges 41 41 bronze badges
If you can, you can always use bash for windows and just do the regular
tar -xvzf <filename.tar.gz>
Oct 26, 2016 at 20:49
Yaron Meiner Yaron Meiner
671 5 5 silver badges 4 4 bronze badges
With a latest Windows 10 (
1803+, or 10.0.17063+ for insiders) you can unpack a tar archive just like you do it in linux:
cmd.exe -> tar xf archive.tar.gz
150 6 6 bronze badges
May 1, 2019 at 14:54
431 4 4 silver badges 6 6 bronze badges
7-zip should work for you. I believe you have to untar the
.tar part of the file as a second step after unzipping the
You also may need to check your 7-zip settings...
Click Tools → Options
Go to the
Make sure “tar” and
“gz” are checked off.
Nov 27, 2010 at 14:52
Ryan Berger Ryan Berger
677 2 2 gold badges 9 9 silver badges 20 20 bronze badges
I use simple WinRAR extractor to extract .tar.gz file; simply do these steps,
Start extracting the .tar.gz file with WinRAR, it will generate an Intermediate file.
Rename that intermediate file as ".tar" and extract it again with WinRAR.
Now second time it will extract your all files/folders.
Dec 22, 2012 at 13:24
81 1 1 silver badge 2 2 bronze badges
The 7-zip package comes with a command-line tool called
7z.exe that can pipe to and from stdin (
-si) & stdout (
-so). So the following line will do the extractraction in one step with no intermediary file (
-ttar tells 7-zip that we're piping in a tar stream).
PATH_TO_7ZIP\7z.exe x netlib-0.13.1.tar.gz -so | PATH_TO_7ZIP\7z.exe x -si -ttar
Feb 19, 2016 at 21:02
The problem is that when 7-zip uncompresses the tar file into a subdirectory, you have to go into the subdirectory in order to uncompress the tar file.
If you've tried to uncompress the subdirectory, it won't work of course.
There are two solutions here:
Use 'extract here', not 'Extract files...'.
Go into the subdirectory and extract from there.
12.6k 6 6 gold badges 47 47 silver badges 77 77 bronze badges
Feb 14, 2012 at 12:36
172 1 1 silver badge 8 8 bronze badges
Install total commander, it will deal with tar.gz files. You can just go inside such kind of file and copy it to the place you need. Extraction is done by TC in the background.
Sep 24, 2013 at 7:44
11 1 1 bronze badge
Paul has it correct, but in this case it's a 2-step process. First to remove the .gz(decompress the files) and second to remove the .tar(unpack the files).
Aug 21, 2015 at 18:46
Highly active question
. Earn 10 reputation (not counting the
) in order to answer this question. The reputation requirement helps protect this question from spam and non-answer activity.
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only
.tar.gzis not supported by the most widely spread client operating system without third party software. And on added to that, when I use it in Linux is has a very bad usability with command flags that is very hard to remeber. See Untar, ungz, gz, tar - how do you remember all the useful options?
.tar.gzis not supported in Windows without third party software. But
.zipis supported and I guess that
.zipis supported by Linux too. If the file had been available in the
.zipformat, I hadn't asked this question.
man tar. All you need to remember is that at the end of the flags, you need
ffor file. Here's the basics:
tar cf arch.tar folder/is c reating a f ile called
arch.tarfrom the folder
tar xf arch.tarwill e x tract from the f ile
arch.tar. This also works on
tar.gzfiles. No need for the