Non-urgent query re: yum ?

Tom Horsley tom.horsley at att.net
Thu Aug 21 21:07:32 UTC 2008


On Thu, 21 Aug 2008 16:50:00 -0400
William Case <billlinux at rogers.com> wrote:

> Does yum have a 'file' switch or option like most other programs dealing
> with several pieces of data?

Yum works off the repository definitions in /etc/yum.repos.d/

You can setup your own repo fairly simply if you have a collection
of rpms, all you need is to run the createrepo tool over the
directory (then discover the syntax to use in the repo definition
to say "local directory" rather than http: - a syntax I don't remember
right off hand :-).

Then you can use the yum --disablerepo and --enablerepo options
to tell it which ones to use.

P.S. /usr/bin/createrepo comes in the package named "createrepo"
(a miracle! :-).




More information about the users mailing list