createrepo command examples

createrepo command examples

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

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

 

Leave a Reply

Your email address will not be published. Required fields are marked *