Using Fedora Install DVD as Yum repository

It’s particularly useful to set up a local [core] repository in Fedora Core 6 to take files from local repository instead of having to go to the Internet to get them.

In Fedora Core 5 and above, the installer is based on yum and so there is actually yum repository metadata present on the DVD.

1. Create a directory for your repository and mount the DVD ISO there:

# mkdir -p /path/to/your/repo
# mount -r -o loop /path/to/FC-6-i386-DVD.iso /path/to/your/repo

3. Configure yum to use your new repository

edit /etc/yum.repos.d/fedora-core.repo. Comment out any line starting with baseurl or mirrorlist in the [core] repository section at the top and add a new line: baseurl=file:///path/to/your/repo

One thought on “Using Fedora Install DVD as Yum repository”

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>