Definition:

  • updates the XML files that are used to reference the repository location.
  • The repository might be on the local storage drive (a local repository), or available from an Apache webserver (centralized internal repository).
  • After running the createrepo command, the administrator must create a .repo configuration file that provides additional information about the repository.
  • The .repo files are stored in the /etc/yum.repos.d/ directory. Some of the components of the .repo file include:
    • [repo-name] —The repository name.
    • name=Repository Name —The human-friendly name of the repo.
    • baseurl= —The path to the repo. May be a file (file:///) or http:// path.
    • enabled=1 —Enables the repo.
    • gpgcheck=0 —Disables GPG checking.

Synopsis:

List of options: