Re: Non-urgent query re: yum ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Horsley wrote, On 08/21/2008 05:07 PM:
On Thu, 21 Aug 2008 16:50:00 -0400
William Case <billlinux@xxxxxxxxxx> 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 :-).


copy the fedora-updates.repo
change the text between []
change the text after name=
comment the mirrorlist
uncomment the baseurl
baseurl=file:///my/repo/location/fedora/linux/updates/9/i386/



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

you might also wish to modify enabled= in the repo files.

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



--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux