Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am not looking for a how-to on creating a repo (createrepo) or using yum.

I want to understand how they work together.
I want to know what files yum looks at and why, what those files contain.
I want to understand the structure of the repo and its files. I want to understand how it all works together.
I have read many how-to's, I am looking for a more conceptual understanding.

I working with Centos 6 32bit.

share|improve this question
up vote 3 down vote accepted

Createrepo creates some informational files that can be used by yum tool while fetching data from a reposiotry. The files are filelists.xml,repomd.xml etc. the below tutorial explains the complete yum working. How does YUM work?

share|improve this answer

I can't provide a complete answer to the entire flow of yum, but the following page describes createrepo and the rpm-metadata provided by createrepo.


share|improve this answer
thanks for the great link. – nelaar Aug 31 '11 at 6:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.