System Grab Bag

View all TLDR pages from Linux (or from all pages)

createrepo

Initializes an RPM repository in the given directory, including all XML and SQLite files. More information: https://manned.org/createrepo.
  • Initialize a basic repository in a directory:
    createrepo {{path/to/directory}}
  • Initialize a repository, exclude test RPMs and display verbose logs:
    createrepo -v -x {{test_*.rpm}} {{path/to/directory}}
  • Initialize a repository, using SHA1 as the checksum algorithm, and ignoring symbolic links:
    createrepo -S -s {{sha1}} {{path/to/directory}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.