48

Recent versions of StuffIt will extract .xz archives, but they will not run on Mac OS X 10.4 Tiger. And using something like Fink, it should be possible to install xz-utils on 10.4, so that .xz archives can be extracted from the Terminal.

But is there any graphical application that will run on Mac OS X 10.4 Tiger, and which will extract .xz files?

It's OK if this application supports extracting .tar.xz archives in a single step, but not necessary, because if it extracts the .tar.xz file to a .tar file, even an older version of StuffIt can extract that.

locked by bmike 7 hours ago

This post has been locked due to the high amount of off-topic comments generated. A link to a chat room will be posted in the comments below if the conversation was moved to chat.

Read more about locked posts here.

38

I'd give The Unarchiver a try. It's free, graphical, supports 10.4 and can extract .xz archives.

74

Not graphically, but this showed up in searches so for those of us who want to do it from the command line using Homebrew:

$ brew install xz
$ xz -d to-extract.xz
43

I've used the following native command on mac:

gunzip filename.xz 

it works fine!

4

The tar -xzf command didn't work for me, but I installed XZ utils http://macpkg.sourceforge.net/ and then unxz filename.tar.xz. Then you can just use the command tar xf filename.tar to open the tarball. I have OSX Mountain Lion (version 10.8.5).

  • The reason is that the option -z specifies gzip compression/decompression. The right option for xz is -J. But in fact, modern tar implementations do not require you to specify the decompression algorithm. Just tar -xf is fine. – Siyuan Ren Oct 18 '14 at 8:57
3

MacOS 10.9 and later natively support xz (but the Finder works only on tar.xz files) according to a comment in reply to the similar excellent question at Can MacOSX 10.7 open tar.lzma files

My tests show the MacOS 10.11 Finder fails to graphically decompress plain xz files unless they contain tar format. MacOS 10.10 suffers the same bug according to the article at https://www.ctrl.blog/entry/archive-utility-xz

however the command line programs gunzip, gzcat and zcat automagically hack all xz files.

2

On a mac, you can open up the terminal and use the command tar -xzf filename.xz if you're not looking to download a new App just for .xz archives

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .