智能
助手
最大化  清空记录 停止  历史记录
翻译选中文本
选中一段文本后进行翻译
名词解释
选中一段文本后进行名词解释
知识图谱生成
通过图谱展示知识信息
登录用户在知识浏览页面可用
答案生成
AI自动回答一个问答功能中的问题
登录用户在问答浏览页面,且问题开放回答中可用
知识摘要
自动为当前知识生成摘要
知识浏览页面可用
知识问答
针对当前知识进行智能问答
知识浏览面可用
2020-03-30 16:35:22 版本 : CentOS中使用yum列出软件包支持的所有版本
作者: wyasw 于 2020年03月30日 发布在分类 / Linux / 系统相关 下,并于 2020年03月30日 编辑
 历史版本

备注 修改日期 修改人
格式调整 2020-03-30 16:35:22[当前版本] wyasw
格式调整 2020-03-30 16:34:34 wyasw
创建版本 2020-03-30 16:32:44 wyasw

CentOS中使用yum列出软件包支持的所有版本

一般情况下yum list只会列出最新版本,以下使用php为例,列出其支持的所有可安装版本:

yum list php --showduplicates | sort -r

[root@VM_0_9_centos vhost]# yum list php --showduplicates | sort -r
Repository epel is listed more than once in the configuration
已加载插件:fastestmirror, langpacks
可安装的软件包
 * webtatic: uk.repo.webtatic.com
 * updates: mirrors.aliyun.com
php.x86_64                       5.4.16-46.el7                           base   
php.x86_64                       5.4.16-46.1.el7_7                       updates
Loading mirror speeds from cached hostfile
 * extras: mirrors.aliyun.com
 * base: mirrors.aliyun.com
历史版本-目录  [回到顶端]
    文艺知识分享平台 -V 5.2.5 -wcp