Find the answer to your Linux question:
Results 1 to 2 of 2
folks i request to know how to add my installation cd or dvd as a package source in yum package manager. so that if a have lots of dependencies, they ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! jonniemuk's Avatar
    Join Date
    Jul 2009
    Location
    E.Africa
    Posts
    59

    Cool adding an installation cd or dvd as a package source in yum


    folks i request to know how to add my installation cd or dvd as a package source in yum package manager. so that if a have lots of dependencies, they can be found by the application its self not me. This is for post installation.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    create a file called /etc/yum.repos.d/dvd.repo and put in it something like:
    Code:
    # Repo RPMS on DVD
    [dvd]
    name=DVD Repo for $releasever - $basearch
    baseurl=file:///media/DVD/$releasever/$basearch/
    enabled=1
    gpgcheck=0
    then verify that you can see it with:
    Code:
    yum repolist

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •