在linux系统使用unzip命令解压zip格式的压缩包的时候,提示:-bash: unzip: command not found,也就是我们常说的unzip未找到命令,接下来吾爱编程为大家介绍一下解决方法,有需要的小伙伴可以参考一下:
1、错误提示:
[root@localhost ~]# unzip biancheng123.zip -bash: unzip: command not found
2、错误原因:
说明我们当前的linux系统没有安装unzip
3、解决方法:
yum install -y unzip zip
4、测试解压:
[root@localhost ~]# ls anaconda-ks.cfg biancheng123.zip [root@localhost ~]# unzip biancheng123.zip Archive: itbiancheng.zip extracting: itbiancheng.txt [root@localhost ~]# ls anaconda-ks.cfg biancheng123.txt biancheng123.zip
以上就是吾爱编程为大家介绍的关于linux unzip未找到命令的解决方法的全部内容了,,希望对大家有所帮助,了解更多相关文章请关注吾爱编程网!