使用unzip命令时报错,提示-bash: unzip: command not found ,unzip相关程序未找到,网上搜安装命令 https://www.cnblogs.com/juihai/p/10566274.html :

#获取安装列表  yum安装列表中搜索zip/unzip是否存在

yum list | grep zip/unzip

#执行安装支持zip命令 根据提示输入y允许安装

yum install zip

#执行安装支持unzip命令 根据提示输入y允许安装

yum install unzip

 

执行 获取安装列表时,提示  Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast  (https://cloud.tencent.com/developer/article/1409686),执行 yum makecache fast 命令更新本地yum源缓存,然后继续执行上一个命令。

获取安装列表、安装zip相关程序

安装unzip相关程序  并测试解压一个jar文件

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:22 天前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐