LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-01-2008, 05:11 PM   #1
linbux
Member
 
Registered: Jun 2008
Location: tehran-iran
Distribution: opensuse,fedora,mandriva
Posts: 34
Blog Entries: 1

Rep: Reputation: 15
Question how to install package s from Fedora 9 distro dvd?


hi
may be this question is false. but i have a very important problem with fedora 9!
I've installed it very easily with minimum package from fedora 9 DVD. because i need my PC for a urgent job.
but now, i want to install more packages fedora 9 DVD. like -delve packages or games!

I'm using gnome.
System > administration > add/remove software
and problem begun!
i clicked on a package group for example Graphics. and after a few seconds I've got the "no result were found" message in the other side.
some times with network error!

in the menu bar system > software source i have some source for my package. default is: Fedora 9 - i386
and many more with debug and test extension.
in help i found there is no way to change or delete and add new repository at now.

in /etc/yum.repos.d/fedora.repo i found it's address. it to a site of fedora project!

all of theme linked to site of the fedora project!

now i want to add my fedora DVD as repository in add/remove software to install it's packages like gimp and even KDE!
what should i do?
it's very simple in Mandriva or ubuntu and even in opensuse!
tanx all...
 
Old 07-01-2008, 05:26 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You should be able to add a repo entry like:

Code:
#original dvd
[f9 dvd]
name=DVD
baseurl=file://path/to/repo/on/dvd/when/mounted
enabled=1
Put that in a file called dvd.repo in /etc/yum.repos.d and see how you go

I haven't tested the above code, and personally don't bother with installing stuff off the dvd after the in initial install, because as soon as you install it, there will be updates in the online updates that make it quicker and simpler just to install from online.

Change enabled=1 to enabled=0 when you don't have the dvd in
 
Old 07-01-2008, 11:08 PM   #3
linbux
Member
 
Registered: Jun 2008
Location: tehran-iran
Distribution: opensuse,fedora,mandriva
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
What?!

Quote:
Originally Posted by colucix View Post
From the Fedora documentation:

Anyway, at http://www.city-fan.org/tips/SubsetRepositoriesFedora9 you will find detailed instructions to create a local repository from a mounted DVD iso. This page is linked by the Documentation section of the Fedora Project.
if it's true, i think it's really stupid! as soon as possible i will use another distro like opensuse or mandriva!
 
Old 07-01-2008, 11:16 PM   #4
linbux
Member
 
Registered: Jun 2008
Location: tehran-iran
Distribution: opensuse,fedora,mandriva
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
What?!

Quote:
Originally Posted by colucix View Post
From the Fedora documentation:

Anyway, at http://www.city-fan.org/tips/SubsetRepositoriesFedora9 you will find detailed instructions to create a local repository from a mounted DVD iso. This page is linked by the Documentation section of the Fedora Project.
if it's true, i think fedora is stupid! it's necessary to install software from cd/dvd!
 
Old 07-01-2008, 11:18 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
This worked for me

Code:
cat media.repo
[InstallMedia]
name=Fedora9
baseurl=file:///media/Fedora%209%20i386%20DVD
enabled=1
gpgcheck=0
Where the mount point is /media/Fedora 9 i386 DVD (the %20 indicates a space)
 
Old 07-02-2008, 03:33 AM   #6
linbux
Member
 
Registered: Jun 2008
Location: tehran-iran
Distribution: opensuse,fedora,mandriva
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Unhappy ummmm

Quote:
Originally Posted by billymayday View Post
You should be able to add a repo entry like:

Code:
#original dvd
[f9 dvd]
name=DVD
baseurl=file://path/to/repo/on/dvd/when/mounted
enabled=1
Put that in a file called dvd.repo in /etc/yum.repos.d and see how you go

I haven't tested the above code, and personally don't bother with installing stuff off the dvd after the in initial install, because as soon as you install it, there will be updates in the online updates that make it quicker and simpler just to install from online.

Change enabled=1 to enabled=0 when you don't have the dvd in
hi...
thanks for reply
i've tried it but not worked!

i never have like this problem in opensuse or mandriva.
i like Fedora but i think i should remove it!
 
Old 07-02-2008, 03:45 AM   #7
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
From the Fedora documentation:
Quote:
With the move to PackageKit in Fedora 9, the facility that Fedora 8 had to install packages directly from install media left in your machine (e.g. DVD in a DVD drive) or inserted on demand is no longer available (it is a work-in-progress).
Anyway, at http://www.city-fan.org/tips/SubsetRepositoriesFedora9 you will find detailed instructions to create a local repository from a mounted DVD iso. This page is linked by the Documentation section of the Fedora Project.
 
Old 07-02-2008, 04:21 AM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
This worked for me

Code:
cat media.repo
[InstallMedia]
name=Fedora9
baseurl=file:///media/Fedora%209%20i386%20DVD
enabled=1
gpgcheck=0
Where the mount point is /media/Fedora 9 i386 DVD (the %20 indicates a space)

You can then use yum from the command line
 
Old 07-02-2008, 10:39 AM   #9
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
Quote:
Originally Posted by linbux View Post
hi...
thanks for reply
i've tried it but not worked!

i never have like this problem in opensuse or mandriva.
i like Fedora but i think i should remove it!
Please explain what you have tried.
Firstly, did you create the repo file in /etc/yum.repos.d/ ?
Then, did you pop the Fedora 9 DVD in your drive and make sure it got mounted. If not, did you mount it. Next, did you make sure that the location it got mounted is the same location you put in that repo file in /etc/yum.repos.d/ . Most importantly since I don't know how knowledgeable you are with Linux, do you know what "mount" means? Answer some of these questions and please explain in detail exactly what you have done so far so we can try and help you out
 
Old 07-02-2008, 11:00 AM   #10
linbux
Member
 
Registered: Jun 2008
Location: tehran-iran
Distribution: opensuse,fedora,mandriva
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Smile Details!

Quote:
Originally Posted by shafty023 View Post
Please explain what you have tried.
Firstly, did you create the repo file in /etc/yum.repos.d/ ?
Then, did you pop the Fedora 9 DVD in your drive and make sure it got mounted. If not, did you mount it. Next, did you make sure that the location it got mounted is the same location you put in that repo file in /etc/yum.repos.d/ . Most importantly since I don't know how knowledgeable you are with Linux, do you know what "mount" means? Answer some of these questions and please explain in detail exactly what you have done so far so we can try and help you out

Ok, tanx for your reply...
[first i should apologize for my bad english language! ]

I have 2 hard drive (one SATA and one IDE) linux installed in IDE drive. my / is sda6.
my windows vista home edition is in sdb1.

i have 2 dvd writer one IDE and other SATA.

i'm using IDE dvd drive usually. F9 dvd mountpoint is /media/Fedora 9 i386
first i've read content of fedora.repo file and i saw all addresess refer to fedora project website.

next i've creat a new file and named it dvd.repo and entered same content as fedora.repo but changed file refers from url to file:///media/Fedora 9 i386.
not more directory inside dvd.
then I started add/remove software tools and in source section there is not my new dvd.repo!
i this section help file i found that there's no way at present time to include new source! mybe i understood wrong!
in next step i've rename fedora.repo to fedora.repo.bak and renamed my dvd.repo to fedora.repo!
but add/remove software not worked!

i found a article on net that use a network mount or loopback mount. but i think it's a very hard way!

now i'm here!
 
Old 07-04-2008, 01:39 PM   #11
linbux
Member
 
Registered: Jun 2008
Location: tehran-iran
Distribution: opensuse,fedora,mandriva
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
finally F9 over came to me! i came back to opensuse!
 
Old 07-04-2008, 05:18 PM   #12
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
The method I outlined works perfectly. As clearly stated, you should use yum from the command line to install using this method. Yum is faster and better than fedora's graphical thing
 
  


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
Install Package from Fedora DVD without Internet linuxy2 Fedora 5 10-10-2009 07:45 AM
RPMdrake cannot install package from distro CD NeilGL Mandriva 4 05-14-2006 07:15 PM
Package Installation fails during OpenSuse Eval 10.0 DVD install jimisola SUSE / openSUSE 2 12-02-2005 09:00 PM
Error Installing Package during distro install PensJunkie Fedora 6 04-12-2005 06:30 PM
Need to install dvd+rw-tools package RH9 marcbachman Linux - Software 0 11-19-2004 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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