tags:

views:

997

answers:

10

I need to run the "tar" command (to decompress a file) within WindowsXP. Do I need a i.e Linux emulator ?

+3  A: 

Yes, you can. It's included in Cygwin.

But I think the easier way is to open tar archives with 7-Zip, it comes with LGPLd library.

vartec
+1  A: 

If you need Linux "emulator", you can use Cygwin link text.

Darth
+11  A: 

First hit when googling for tar windows seems relevant.. Tar for Windows

Ryan Graham
I hadn't heard of lmgtfy, that's awesome
Ryan Graham
+2  A: 

WinZip can read tar files.

S.Lott
+3  A: 

Or download the Win32 version of tar here: http://gnuwin32.sourceforge.net/packages/gtar.htm

Just click the section where it says "binaries".

regex
Those are great. Gnuwin32 tools are unix to the spirit unlike those from cygwin. Cygwin tools are unix to the letter through aid of nasty kludges :(
eugensk00
+8  A: 

GNU Tar is available as a native Windows application. However, many archiving utilities available for Windows can handle the Tar format, including my personal favourite, the excellent 7-Zip.

Rob
+5  A: 

No. You have quite a lot of options; here are two:

  1. Unix utilities for Windows
  2. 7-ZIP
innaM
+1  A: 

If you just want tar then Ryan Graham's is the best solution. If you need some of the other UNIX tools but don't want the vast amount of bloat that Cygwin has unhappily become, see Minmalist GNU for Windows.

anon
or http://sourceforge.net/projects/unxutils, a collection of Unix utilities compiled to native Windows.
MaxVT
+1  A: 

I've been impressed with TugZip. It handles a bunch of compressed formats including tar and tgz (and it's free).

Jachin
+2  A: 

http://sourceforge.net/projects/unxutils is a collection of binary Unix utilities that includes tar.

MaxVT