Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a Local HTTP YUM repo. I can install the individual packages. But is there a way to install packages in the available groups?

When I tried to install using groups, it give me this message:

[root@mainserver ~]#  yum groupinstall "Development Tools"
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Group Process
Warning: Group Development Tools does not exist.
share|improve this question

Try using the command yum grouplist to determine if you even have any groups available in your yum repo.

If you want groups in your repo you'll need to populate its definition using the following commands:

  1. Create the group

    $ yum-groups-manager -n "My Group" --id=mygroup --save=mygroups.xml \
         --mandatory yum glibc rpm

    This will result in a file, mygroups.xml being generated, for example:

    <!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd">
       <name>My group</name>
          <packagereq type="mandatory">glibc</packagereq>
          <packagereq type="mandatory">rpm</packagereq>
          <packagereq type="mandatory">yum</packagereq>
  2. Create group in repo

    When creating your repo use the following command to populate the group:

    $ createrepo -g /path/to/mygroups.xml /srv/my/repo


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.