首页 > 技术文章 > -bash: zip: command not found

dsy665412 2021-11-15 20:50 原文

-bash: zip: command not found
image
翻译过来就是:-bash: zip:命令未找到
在网上搜索了下 Linux 安装"zip"命令的方式:yum install zip
image
有个地方还会问你 Is this ok,输入 "y"回车就可以了,同样的 "zip" 命令都没有找到,解压命令应该也找不到,所以我就提前一步安装。
解压命令:yum install unzip
image
果不其然,解压命令真没装。安装好后就可以使用了。
image

推荐阅读