LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-16-2007, 04:05 PM   #1
emuub
Member
 
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.
comps-f7.xml
filelists.sqlite.bz2
filelists.xml.gz
other.sqlite.bz2
other .xml.gz
primary.sqlite.bz2
primary.xml.gz
repomd.xml
TRANS.TBL
- 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.

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

Rep: Reputation: 59
Check post #15 in the thread link below, this was for FC6, but I would think it'll be the same for F7.
http://www.linuxquestions.org/questi...d.php?t=537641
 
Old 06-17-2007, 07: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:
[dvd]
name=Fedora DVD
baseurl=file:///home/me/disk
enabled=1
gpgcheck=0

and all went fine.
 
  


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


All times are GMT -5. The time now is 02:49 PM.

Main Menu
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