createrepo



createrepo(8)                                                    createrepo(8)




NAME

       createrepo - Create repomd (xml-rpm-metadata) repository



SYNOPSIS

       createrepo [options] <directory>




DESCRIPTION

       createrepo  is a program that creates a repomd (xml-based rpm metadata)
       repository from a set of rpms.



OPTIONS

       -u --baseurl <url>
              Optional base url location for  all  files.  (not  used  by  any
              clients at this time)

       -x --exclude <package>
              File globs to exclude, can be specified multiple times.

       -q --quiet
              Run quietly.

       -g --groupfile <groupfile>
              A precreated xml filename to point to for group information.
              See examples section below for further explanation.

       -v --verbose
              Run verbosely.

       -s --checksum <type>
              Select type of checksum to use (md5 or sha).
              Default: sha

       -p --pretty
              Output xml files in pretty format.

       -V --version
              Output version.

       -h --help
              Show help menu.



EXAMPLES

       Here  is  an  example of a repository with a groups file. Note that the
       groups file should be in the same directory as the rpm  packages  (i.e.
       /path/to/rpms/comps.xml).

       createrepo -g comps.xml /path/to/rpms



FILES

       repodata/filelists.xml.gz
       repodata/other.xml.gz
       repodata/primary.xml.gz
       repodata/repomd.xml



SEE ALSO

       yum (8) yum.conf (5)




AUTHORS

       Seth Vidal <skvidal@phy.duke.edu>




BUGS

       Any  bugs  which  are found should be emailed to the mailing list: rpm-
       metadata@linux.duke.edu



Seth Vidal                        2005 Jan 2                     createrepo(8)

Man(1) output converted with man2html