通过Xshell 执行压缩.zip文件出现unzip: command not found错误的解决办法

利用unzip命令解压缩的时候,出现 -bash: unzip: command not found 的错误。


unzip——命令没有找到,其原因肯定是没有安装unzip。
 
利用一句命令就可以解决了。
 
通过root权限登陆执行

命令是:
yum install -y unzip zip
 
安装成功后就可以使用unzip命令了。

猜你喜欢

转载自www.cnblogs.com/ynyhl/p/10266641.html