列出yum组 [英] Listing yum group
问题描述
当我在Red Hat环境中运行 yum grouplist
时,我在 可用组 列表下收到了以下组.
When I run yum grouplist
in a Red Hat environment and I received the following groups under the Available Groups list.
如何确定特定组中包含哪些软件包(例如开发工具")?我想安装特定的软件包,而不是整个组(特别是如果我不确定该组中的内容时).
How do I find out that which packages are contain in a specific group (e.g 'Development Tools')? I would like to install specific packages and not a whole group (especially if I am not sure what is in the group).
$ yum grouplist
Available Groups:
DNS Name Server
Development Tools
Engineering and Scientific
FTP Server
Games and Entertainment
Graphics
Java Development
KDE (K Desktop Environment)
KDE Software Development
MySQL Database
News Server
PostgreSQL Database
Sound and Video
Web Server
Windows File Server
推荐答案
尝试 yum groupinfo
在联机帮助页的groupinfo部分中:
From the groupinfo section of the manpage:
用于提供一个组的描述和程序包列表(以及那些程序包标记为哪种类型).请注意,您可以使用yum-filter-data和yum-list-data插件以另一种方式获取/使用数据(即,拥有包的组需要更新).如果传递-v选项以启用详细模式,则将软件包名称与已安装/可用的软件包进行匹配,类似于list命令.
Is used to give the description and package list of a group (and which type those packages are marked as). Note that you can use the yum-filter-data and yum-list-data plugins to get/use the data the other way around (Ie. what groups own packages need updating). If you pass the -v option, to enable verbose mode, then the package names are matched against installed/available packages similar to the list command.
这篇关于列出yum组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!