Download your favorite Linux distribution at LQ ISO.
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 03-14-2012, 09:37 PM   #1
LQ Newbie
Registered: Jan 2008
Posts: 4
Blog Entries: 1

Rep: Reputation: 0
Map DVD in software repository


I do not have internet access to my lab machine and want to additional packages on RHEL. I have a DVD and want to add the packages available in DVD in the software repository for offline installations.

Browsing DVD and selecting a particular package is tiresome as there are dependencies which are missing.

Is there a way to view the local packages available in DVD from software repository.
I am using RHEL 5.3

Thanks in advance,
Old 03-14-2012, 10:49 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,361

Rep: Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569Reputation: 2569
you have access to the red hat knowledge base with your paid license ( the required license)
login to the red hat web site with the credentials for the license and do a search for "local repo"
the full instructions are there

but there is no real need for that if you have the dvd
the redhat install media repo should be in the /etc/yum.repo.d/ folder, or on the dvd.

this one is for CentOS5 , the red hat one will look like this
# CentOS-Media.repo
# This repo is used to mount the default locations for a CDROM / DVD on
#  CentOS-5.  You can use this repo and yum to install items directly off the
#  DVD ISO that we release.
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c4-media [command]
# or for ONLY the media repo, do this:
#  yum --disablerepo=\* --enablerepo=c4-media [command]
name=CentOS-$releasever - Media

Last edited by John VV; 03-14-2012 at 10:57 PM.


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
add dvd to yum repository in fedora 15 ac_kumar Linux - Newbie 10 02-19-2012 06:51 PM
Creating a local repository from 5 DVD set anupammr89 Debian 1 01-06-2011 02:20 AM
how to add specific software repository in opensuse 11.2 without installation dvd linux.ab Linux - Newbie 1 02-16-2010 06:27 AM
Local ubuntu DVD repository dipuasks Ubuntu 1 12-15-2009 03:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:27 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