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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux