5 ms·
Tar does not implement decompression. If you don't have xz installed it won't work.
by zorked 11y ago
Tar does not implement decompression. If you don't have xz installed it won't work.
- masklinn 11y agoThat doesn't seem correct, on osx 10.11 `tar xf` can extract `.tar.xz` yet doesn't fork an xz. AFAIK 10.11 doesn't even come with xz.
- jessaustin 11y agotar can link the xz lib without forking.
- masklinn 11y agoSo tar does "implement decompression" (and compression, by delegating the work to libarchive) and it can work even "if you don't have xz installed".
- jessaustin 11y agoIt would require liblzma, but you are correct that the library is a separate thing from the executable xz.
- masklinn 11y ago> It would require liblzma Yep, in the same way it requires libz and libbz2.
- killercup 11y agoIIRC bsdtar (e.g. on OS X) includes xz.