[Yum] yum groupinstall / yumgroups.xml docs?

Jason L Tibbitts III tibbs at math.uh.edu
Tue Jun 29 19:17:19 UTC 2004


>>>>> "AB" == Aaron Bennett <aaron.bennett at olin.edu> writes:

AB> The man page for yum mentions groupinstall, and I've read
AB> references to yumgroups.xml as the key to this, but I can't find
AB> any documnention on how it works.

The format is the same as comps.xml.  Here's a quick test file; put it
in your repository at the same level as the "headers" directory:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd">
<comps>
  <group>
    <id>testing-group</id>
    <name>testing-group</name>
    <default>true</default>
    <description>Test group</description>
    <uservisible>true</uservisible>
    <packagelist>
      <packagereq type="default">xfig</packagereq>
    </packagelist>
  </group>
</comps>

Then you can do "yum groupinstall testing-group" and it will install
xfig.  Add more <packagereq> items to put more packages in the group.
Add more <group> stanzas to create more groups.

 - J<



More information about the Yum mailing list