Best Answer: How Use Createrepo Command in Linux?
Contents

How do I use Createrepo?

Custom YUM Repository

  1. Step 1: Install “createrepo” To create Custom YUM Repository we need to install additional software called “createrepo” on our cloud server. …
  2. Step 2: Create Repository directory. …
  3. Step 3: Put RPM files to Repository directory. …
  4. Step 4: Run “createrepo” …
  5. Step 5: Create YUM Repository Configuration file.

What does the Createrepo command do?

Createrepo is a tool used to create the necessary XML Metadata files that Yum uses to know what packages are available. Every time a repository is updated with new or removed packages these XML Metadata files will need to be updated with createrepo.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest