How can I decompress an archive file having tar.zst?

Zeki Zeybek picture Zeki Zeybek · Jul 27, 2017 · Viewed 59.3k times · Source

I do not know how I can decompress a file having tar.zst extension and even though I did look for solutions on the Internet I ended up having nothing useful regarding the matter.

Answer

s-yata picture s-yata · Aug 16, 2017

The extention .zst means that the archive is compressed by zstd.

The tar command has an option -I (--use-compress-program) to specify a command for compression/decompression.

You can use it as follows.

$ tar -I zstd -xvf archive.tar.zst