如何解压 .zst 和 tar.zst 压缩文件

.zsttar.zst 是使用 Facebook 开源的 Zstandard 算法压缩出来的文件。

tar 命令有个参数 -I(--use-compress-program) 可以指定压缩和解压缩使用的子命令,所以解压的完整命令如下:

tar --use-compress-program=unzstd -xvf archive.tar.zst

如果报错:zstd: Cannot exec: No such file or directory,请尝试使用 apt、yum等系统自带的包管理软件安装zstd。

原文:https://fengqi.me/unix/606.html

# linux 

本文由:星际难民
实践,测试,整理发布.如需转载请注明地址 本文标题:如何解压 .zst 和 tar.zst 压缩文件
地址:https://530503.xyz/articles/2022/09/07/1662534535091.html

评论

取消