[Yum] yum groupinstall / yumgroups.xml docs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "AB" == Aaron Bennett <aaron.bennett@xxxxxxxx> 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<

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux