tar (child): zstd: Cannot exec: No such file or directory

[root@localhost ~]# tar -I zstd -xvf libxcrypt-4.4.17-1-x86_64.pkg.tar.zst
tar (child): zstd: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[root@localhost ~]#

出现了这个就是表明没有zstd包,需要手动安装这个安装包来解压zst

方法:

想办法yum install 

发现不能解决,于是在网上找到zstd 这个安装包然后安装:

在网上找到的一个源代码:https://github.com/kunpengcompute/zstd,然后copy 到系统里面 解压,make ,make install 后就有了zstd 了。

 

posted @ 2020-10-17 14:03  正霜霜儿  阅读(3379)  评论(0编辑  收藏  举报