Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-03-2008, 07:43 PM   #1
Registered: Dec 2005
Location: Lahore, PK
Distribution: Fedora 14
Posts: 105

Rep: Reputation: 16
Setting Local DVDROM as yum Repository

I want yum to also look into F8 DVD thats is already mounted in /media/Fedora 8 i386 DVD so if the packg is availabe there and no newer version is available on net so i can force it to install it from the DVD to save my downnloding time.

I tried it by opening Add Remove Software and go to Repository Manager and add a new repository and give the following path

file://media/Fedora 8 i386 DVD/repodata

i also tried with this path

file://media/Fedora 8 i386 DVD/repodata/repomd.xml

but the system couldn't fetch the repomd.xml file. How can i add my local dvd as a repository in yum?
Old 05-03-2008, 09:01 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
On Fedora 8 there should already be a Fedora-install-media.repo file in /etc/yum.repos.d. To enable it simply open that file in a text editor and change "enabled = 0" to "enabled = 1" (no quotes). Note that yum might choke if the DVD isn't in the drive the first time you run it after doing this.


fedora, repository, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
want to set up local yum repository linmix Linux - Software 4 04-23-2013 03:42 AM
can i create a local yum repository? Sharaz Linux - General 5 01-21-2008 01:51 PM
Problem creating local Yum Repository DirkDiggler Linux - Software 1 05-25-2007 12:04 AM
how can i add a local Folder on local Hard Disk as Yum Repository ?? vahid_p Fedora 4 02-22-2007 10:43 AM
install local dir as yum repository unixmad Linux - Newbie 2 10-01-2004 04:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration