ITPub博客

首页 > Linux操作系统 > Linux操作系统 > -bash: unzip: command not found

-bash: unzip: command not found

原创 Linux操作系统 作者:白盲丶 时间:2018-05-21 16:07:08 0 删除 编辑
一、问题描述
    给客户安装软件zip时报错

  1. -bash: unzip: command not found
二、问题分析
    unzip命令没有找到,是因为没有安装unzip。
三、解决方案

  1. yum install -y unzip zip
如果用普通用户会提示:
  1. [r7@fs-3z3-vm0326 picclife]$ yum install -y unzip zip
  2. Loaded plugins: fastestmirror
  3. You need to be root to perform this command.
用root用户可以正常执行安装。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31427447/viewspace-2154821/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2017-01-09

  • 博文量
    32
  • 访问量
    62416