Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I decompress an archive file having .zst or tar.zst? [closed]

I do not know how I can decompress a file having .zst or tar.zst extension . The full filename :- file.pkg.tar.zst or file.xz.tar.zst

like image 434
Quarkonia Avatar asked Jul 27 '17 15:07

Quarkonia


3 Answers

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

  • https://github.com/facebook/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 --use-compress-program=unzstd -xvf archive.tar.zst
like image 184
s-yata Avatar answered Nov 14 '22 11:11

s-yata


Decompress it in Terminal.

unzstd yourfilename.zst

I know there aren't many resources available but I found this here: http://manpages.org/zstd

like image 105
Kaleba KB Keitshokile Avatar answered Nov 14 '22 10:11

Kaleba KB Keitshokile


If you have a standard cmake + gcc build stack:

git clone https://github.com/facebook/zstd.git
cd zstd/build/cmake
cmake .
make
./programs/zstd -d /path/to/file.zst
like image 23
schuess Avatar answered Nov 14 '22 11:11

schuess