LinuxQuestions.org
Register a domain and help support LQ
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 09-09-2011, 03:04 PM   #1
guptaaditya24@gmail.com
LQ Newbie
 
Registered: Jul 2011
Location: Delhi
Posts: 22

Rep: Reputation: Disabled
Can Redhat's 6.0 ".iso" image be used for obtaining the packages folder from it.


I don't have Redhats CD but I have its image in ISO format. Can it be used for obtaining the 'Packages' folder required to create a yum server. Please help.
I dont have CD Rom in my LAPTOP, therefore I cant write a CD from that image. Thus Help me with some option.
 
Old 09-09-2011, 03:15 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
You can mount the iso image using the -o loop option, then act as it would be a mounted CD. You need to edit the /etc/yum.repos.d/Redhat-Media.repo (not sure about the name, since I have CentOS 6) and set the baseurl key to point to the correct location. You can leave enabled=0 in the configuration file above and use
Code:
yum --enablerepo=r6-media install package
again, not sure about the name of the repository, but you can see it in the aforementioned file. Hope this helps.
 
Old 09-09-2011, 03:36 PM   #3
guptaaditya24@gmail.com
LQ Newbie
 
Registered: Jul 2011
Location: Delhi
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thank you for the earliest response. I'll try.
 
  


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
Is "Raw CD image" exactly same as an "ISO" file ? TheIndependentAquarius General 7 10-27-2010 06:19 PM
Where can I find "ISO"packages for Fedora? msbstar Linux - Newbie 4 02-02-2010 10:14 AM
Do i need "RPM Packages" or "SuSe Source code packages" Donati Linux - Software 3 03-19-2009 08:32 PM
Is a "raw cd image" the same as an iso? hendoc Linux - Newbie 2 01-28-2007 11:14 AM
How to boot "raw iso cd image?" jerrybasham Linux - General 9 08-24-2006 05:20 PM


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