LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-16-2007, 05:05 PM   #1
Registered: Oct 2003
Location: North London, UK
Distribution: Fedora 14
Posts: 54

Rep: Reputation: 16
Question yum.conf - extract files from a DVD. How define repo location and what is yum command

I want to use yum to pick packages to install from the F7 installation DVD. Im calling yum in an Xterm.

On the DVD at the top level are:
- a directory 'repodata' which contains 9 items.
other .xml.gz
- a directory called Fedora which has all the rpms
1) To make yum find the rpm on the DVD i guess that i need to change yum.conf to add a path to the repository on the DVD - is this true ?

2) In the repo section of the conf file i need to put a line like (from man yum.conf):
[repositoryid] name=Some name for this repository baseurl=url://path/to/repository/

3) I need a yum command line to actually do the installation

Can someone translate this into noobie for me.

The path to the dvd is /media/DVD.
The package i want is KDE
I want to overwrite any kde files that are already on the computer.

Old 06-16-2007, 09:29 PM   #2
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 60
Check post #15 in the thread link below, this was for FC6, but I would think it'll be the same for F7.
Old 06-17-2007, 08:28 AM   #3
khokho solomi
LQ Newbie
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
Hi, I have installed packages from the FC7 DVD using yum a week ago. All I had to do is mount the fc7 dvd to, for example, /home/me/disk and then create a file dvd.repo in /etc/yum.repos.d/ with the following lines:
name=Fedora DVD

and all went fine.


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
Local YUM Repo lord loh. Linux - Software 2 05-28-2007 01:41 AM
Yum cant seem to connect to any repo Zut50 Fedora 12 03-30-2006 03:44 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 04:49 PM
FC2 yum updated to 2.1.11 need new yum.conf? peregrine2 Linux - Newbie 1 12-02-2004 08:14 AM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 03:28 AM

All times are GMT -5. The time now is 08:14 PM.

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