Originally Posted by Harish Pathak
I m using Redhat linux 5.1, I want to know what is the function of 'createrepo .' command while installing yum.
It creates a common metadata repository of available rpms in a folder where you run this. Btw it's not a part of installing yum, you use this command to create repo of your Linux CD/DVD image to resolve rpm dependencies automatically.