LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-29-2009, 09:46 AM   #1
googlez
LQ Newbie
 
Registered: Jul 2009
Posts: 13

Rep: Reputation: 0
install applications from DVD ISO


I have downloaded Fedora 11 1ive CD and installed it successfully in my PC, I also have downloaded Fedora-11-i386-DVD.iso into my hard disk.
I want to mount DVD iso and install applications from DVD iso by using
yum install, I do not want to download through fedora mirrors.

I do the following steps,

Code:
$yum install createrepo
$mkdir -p /mnt/iso/{1,2,3}
$mount -o loop /path/to/Fedora-11.DVD.iso /mnt/iso/1
$cd /mnt/iso
$createrep .
after these commands, I can see the system read more than 2000 packages one by one in my pc.
Then i use the following command,
Code:
$yum clean all
vi /etc/yum.repos.d/iso.repo
the contents of iso.repo are as follows,
Code:
[My ISO repository]
name=ISO
baseurl=file:///mnt/iso
enabled=1
After these, I use $yum install xfig
The systems said, "Bad id, byte=2"
yum still uses internet to install the applications?

Could anyone help me?
 
Old 07-29-2009, 10:02 AM   #2
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
You have a number of repo definitions. If you want to install from a specific repo such as a DVD, you need to tell yum which of the repos to use. Unfortunately there is no specific command line option for that. Instead you disable the other repos.
 
Old 07-29-2009, 04:40 PM   #3
googlez
LQ Newbie
 
Registered: Jul 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fpmurphy View Post
You have a number of repo definitions. If you want to install from a specific repo such as a DVD, you need to tell yum which of the repos to use. Unfortunately there is no specific command line option for that. Instead you disable the other repos.
please tell more, give an example of command line, thanks.
 
Old 07-29-2009, 07:23 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
first WHY do you want to do that . 90% of the fedora 11 dvd is out dated and the next time you boot, it will be updated .


just use the add and remove software
in /System / Administration on the Gnome desktop

you might want to read the fedora docs .
http://docs.fedoraproject.org/
and have a look through a few " help " pages
http://www.dnmouse.org/
http://www.mjmwired.net/resources/mjm-fedora-f11.html
 
  


Reply



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
Install DVD iso on a cd rom parenteeng Fedora 3 09-28-2007 05:03 PM
how to install FC(DVD.iso) tcb3210 Linux - Software 3 07-23-2007 05:22 AM
Install from ISO/DVD problem FletcherTM Linux - Newbie 2 01-03-2006 06:45 AM
SUSE 9.2 DVD ISO install riba43 Linux - Newbie 13 03-07-2005 05:01 PM
Making a DVD Install ISO... a3Rogue Slackware 2 06-26-2004 08:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:44 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
Open Source Consulting | Domain Registration