linux解压文件出现gzip: stdin has more than one entry--rest ignored tar: Child returned status 2 tar: Error

1,083 阅读1分钟

本文已参与「新人创作礼」活动,一起开启掘金创作之路。

使用tar命令解压.zip文件出现

gzip: stdin has more than one entry–rest ignored
tar: Child returned status 2
tar: Error is not recoverable: exiting now

问题原因

解压.zip文件需要使用unzip组件,但没有安装unzip组件

运行命令

‘yum install unzip’
unzip 文件名.zip