Engwar

Chintana Wilamuna's weblog

FC9 DVD as yum repo

Mildly useful trick if you want to get packages installed from the DVD instead of fetching stuff off the mirrors right after you install FC9. By default the DVD is not listed on the available yum repos. Create a file called /etc/yum.repos.d/fedora-dvd.repo with the following content,

[fedora-dvd]
name="Fedora 9 i386 DVD"
baseurl=file:///media/Fedora%209%20i386%20DVD

Note that the %20s are necessary for spaces. After a yum update, yum away to your heart’s content.

Just saw Suran’s blog being redirected to some shitty search site (gasp) and worked correctly a moment later. When I felt a weird feeling I never thought the next moment sheer evilness will be poured over my cerebral cortex. Should never smoke the green thing for any extended periods of time, I tell you.

  • Ari R. Fikri

    it’s 3 of slash “/” instead of two. Took me a while to figure this out.

    Now my x86_64 DVD is listed but no application pacakges can be retrieved from it. Don’t know why

  • Amit

    Dear can you please confirm the if I need to creatrepo for DVD