TechSupportDude Forum Index

How to use Fedora Install DVD as a Yum repository

 
Post new topic   Reply to topic    TechSupportDude Forum Index -> Linux, Mac and Other OS's
View previous topic :: View next topic  
Author Message
nycin_armia
Newbie


Joined: 28 Sep 2007
Posts: 3

PostPosted: Thu 18 Oct, 2007    Post subject: How to use Fedora Install DVD as a Yum repository Reply with quote

Hi all,

It's particularly useful to set up a local [core] repository in Linux(Fedora Core 5 and above) to take files from local repository instead of having to go to the Internet to get them.

In Fedora Core 5 and above, the installer is based on yum and so there is actually yum repository metadata present on the DVD.

1. Create a directory for your repository and mount the DVD ISO there:

# mkdir -p /path/to/your/repo
# mount -r -o loop /path/to/FC-6-i386-DVD.iso /path/to/your/repo


3. Configure yum to use your new repository

edit /etc/yum.repos.d/fedora-core.repo. Comment out any line starting with baseurl or mirrorlist in the [core] repository section at the top and add a new line: baseurl=file:///path/to/your/repo

-------------------------------------------------------------------------------------------------------
How to install a software using yum, via internet
-------------------------------------------------------------------------------------------------------
Third Party Repositories

For applications that are against Fedora policies (MP3, DVD, MPEG, NTFS, etc), a third party repository should be used. And it can be done like this:

[mirandam@charon ~]$ sudo rpm -ivh http://rpm.livna.org/livna-release-6.rpm
[mirandam@charon ~]$ sudo rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY

To see a list of available softwares at the livna repository, you can do like this:

yum list

Since it is a very long list, it is better to save this to a file for future reference like this:

yum list>livna.txt

In order to install a package (like k3b), we can use the following command:

yum install <name of the package>
eg: yum install k3b.i386

Thanks
Nycin.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TechSupportDude Forum Index -> Linux, Mac and Other OS's All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Outsourced Technical Support
Free Logo Maker - Free Web Hosting - Transportation Management Software - How To Copy a Website