linux常见问题: zip/unzip: command not found

linux系统没有自带的压缩解压工具;需要我们自己安装;当用到zip或者unzip如果没有安装就会出现unzip: Command Not Found 或 zip: Command Not Found;出现这个事因为没有安装unzip和zip;

解决方法

  1. Ubuntu
sudo apt-get install zip
  1. CentOS
yum install -y unzip zip

猜你喜欢

转载自www.cnblogs.com/wandoupeas/p/zip_command_not_found.html