linux 系统没有自带 zip 的压缩解压工具。当用到 zip 或者 unzip 如果没有安装就会出现 -bash: unzip: Command Not Found
或 -bash: zip: Command Not Found
,需要我们自己安装。
CentOS 安装
yum install -y unzip zip
Ubuntu 安装
sudo apt-get install zip
linux 系统没有自带 zip 的压缩解压工具。当用到 zip 或者 unzip 如果没有安装就会出现 -bash: unzip: Command Not Found
或 -bash: zip: Command Not Found
,需要我们自己安装。
yum install -y unzip zip
sudo apt-get install zip