LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-14-2012, 10:37 PM   #1
lilchakki
LQ Newbie
 
Registered: Jan 2008
Posts: 4
Blog Entries: 1

Rep: Reputation: 0
Map DVD in software repository


Hi,

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,
Chakradhar
 
Old 03-14-2012, 11:49 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,985

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
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
https://access.redhat.com/knowledge/search

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
Code:
# 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]
 
[c5-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
        file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta

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


Reply


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


All times are GMT -5. The time now is 06:56 PM.

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