使用yum install命令如何获取软件版本?
有没有办法知道使用 yum install 命令将安装哪个版本的软件?
例如:
$ yum search zsh
Loaded plugins: fastestmirror
=== Matched: zsh ===
zsh.x86_64 : A powerful interactive shell
这样的话,如果输入yum install zsh.x86_64
,如何知道zsh
的版本呢?
Is there any way to know which version of the software will be installed using yum install
command?
For example:
$ yum search zsh
Loaded plugins: fastestmirror
=== Matched: zsh ===
zsh.x86_64 : A powerful interactive shell
In this case, how can I know the version of zsh
if I type yum install zsh.x86_64
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
yum list zsh
也可以工作:man yum
yum list zsh
also works:man yum
使用 yum info 获取有关特定包的更多信息:
Use yum info to get more info about a particular package: