Opening a tar.gz file on Windows

Written by James McDonald

March 2, 2010

Running tar for Windows, using this command:

c:\Program Files\GnuWin32\bin\tar.exe -xzvf filename.tar.gz 

gives the following error

c:\Program Files\GnuWin32\bin\tar.exe: Cannot fork: Function not implemented
c:\Program Files\GnuWin32\bin\tar.exe: Error is not recoverable: exiting now

On windows it doesn’t seem to call gzip automatically.

Therefore:
You need to install GZIP for Windows

And then run a command similar to what follows:

"c:\Program Files\GnuWin32\bin\gzip.exe" -d -c "filename.tar.gz" | "c:\Program Files\GnuWin32\bin\tar.exe" -x 

2 Comments

    • james

      Doh,
      I forget that Windows has utilities. I tend to look around for the ported linux stuff because I’m familiar with it.

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

How to Research a CPU Upgrade

How to Research a CPU Upgrade

Upgrade Time! Doing a lot of VMWare Workstation virtualization to create labs for self-study and training. Finding...