Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Listing yum group

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 
like image 570
WhereIsTheBubble Avatar asked Jul 13 '10 17:07

WhereIsTheBubble


People also ask

How do I list a yum group?

You can use the option yum grouplist command to list available package groups. The option groupinstall is used to install a group of packages.

What is a yum package group?

A set of packages can themselves be organized as a yum group. Examples include the groups for Eclipse, fonts, and system administration tools.

How do I delete a yum group?

To remove a group (which erases all packages in the group from the system), simply use remove subcommand. You can also mark a group as installed with the command below. That's all for now! You can find more subcommands and their explanations under the groups subsection in the yum man page.

How do I install a group?

Navigate to Start --> Control Panel --> Programs and Features --> Turn Windows features on or off. Navigate to Remote Server Administration Tools --> Feature Administration Tools and select Group Policy Management Tools. Click Install.


1 Answers

Try yum groupinfo

From the groupinfo section of the manpage:

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.

like image 137
Justin Ethier Avatar answered Sep 19 '22 19:09

Justin Ethier