LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 08-24-2007, 12:53 AM   #1
fedix
Member
 
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 100

Rep: Reputation: 17
How to direct Yum to Hard Drive first


I've recently migrated to Fedora 7, installed from the Live CD and then transfered it to my hard drive.

I also downloaded the DVD-i386.iso (2.8GB), which by the way, didn't want to install from. I've copied the whole 2GB CD to a directroy on my hard drive.

I've got two questions:
1) I would like to install new software with the Package Manager, but before downloading from the Internet, it must first check whether its on the DVD (the directory).

2) How do I configure yum to do the same - first check local repository, then download.

The structure of the directory is exactly that of the DVD
/fedora
/images
/isolinux
/repodata
/stylesheet-images
... and some filesI've recently migrated to Fedora 7, installed from the Live CD, transfered to my hard drive.

I also downloaded the DVD-i386.iso (2.8GB), which by the way, didn't want to install from. I've copied the whole 2GB CD to a directroy on my hard drive.

I've got three questions:
1) I would like to install new software with the Package Manager, but before downloading from the Internet, it must first check whether its on the DVD (the directory).

2) How do I configure yum to do the same - first check local repository, then download.

The structure of the directory is exactly that of the DVD
/fedora
/images
/isolinux
/repodata
/stylesheet-images
... and some files

Thanks
 
Old 08-24-2007, 01:53 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Quote:
Originally Posted by fedix View Post
I would like to install new software with the Package Manager, but before downloading from the Internet, it must first check whether its on the DVD (the directory).
Unfortunately, with Fedora's Yum, it's one or the other, either get em' on-line or from a local repository. Because from what I've picked up in the past, you have to disable your on-line repos to have Yum look at a local repo. But I could be wrong also
http://www.linuxquestions.org/questi...94#post2790394
 
  


Reply

Tags
install, manager, package, software, yum


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
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving tubatodd Ubuntu 4 02-19-2007 05:32 PM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 09:48 AM
CD-R Drive to CD-RW Drive Direct Copy CooManChu Linux - Hardware 25 01-08-2005 11:55 AM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 02:47 AM
Grub to access new hard drive and old multi os hard drive ? gedi1 Linux - Hardware 0 06-03-2004 01:01 PM


All times are GMT -5. The time now is 08:23 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration