LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-23-2008, 07:19 AM   #1
lost_wonder
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
Smile Fedora ropository files


Hi all

Being new to Linux, I am learning how to set up a radius server using yum. I was given a set of files to unzip and install but I encountered problems. There were four files that are of interest to me. They are:

1) feedora-development.repo
2) fedora-updates-testing.repo
3) fedora-updates.repo
4) fedora.repo

I need to know what these files do and how they work. Is there anyone out there who can explain how these files work? Any info will be greatly appreciated. Thank you

Last edited by lost_wonder; 10-23-2008 at 07:21 AM.
 
Old 10-23-2008, 08:18 AM   #2
notorp
LQ Newbie
 
Registered: Sep 2005
Distribution: Fedora 10/9/8/6 - FC3 - RH9 + Puppy Dog
Posts: 27

Rep: Reputation: 15
Yum setup

The files you list above normally live in /etc/yum.repos.d/

This directory is referenced by the yum.conf file which also lives in the /etc/

The files contain information pertaining to channels (repos) which contain xml indexes of rpm files.

The fedora repo files actually point to mirror lists rather than to actual repo servers but the mirror lists do point to the repo servers.

If you edit a file in your favourite text editor you will see something like this (fedora.repo):

Code:
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
It shows:
[fedora] - the name of the repo, how it is addressed in yum name=Fedora $releasever - $basearch

$releasever and $basearch are variables which convert to your release and basearch automatically so fc8 and x86_64 for example.

The baseurl points directly to a repo location. The mirrorlists well guess what they point to mirror lists which are just a list or mirror servers.
Enabled=1 means that the repo is enabled. 0 would mean not enabled.
gpgcheck=1 tell yum to check that the rpm downloaded has a key and that it matches the key located in the gpgkey file.

In 99% of the time setting up yum is simply as case of rpm -Uvh or rpm -ivh yum.rpm

Likewise the repos normally come in rpm format so it is just a case of installing them using rpm or yum.

This website may help you?

PS

Fedora has new repo files now with the words newkey in their titles worth getting them as they have a new signing key for the rpms.

Last edited by notorp; 10-23-2008 at 08:19 AM. Reason: Update newkey info
 
  


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
Retrieving files in Fedora Bamitola Fedora 1 09-08-2006 09:29 AM
Search for files in Fedora 3 wjal Linux - Newbie 7 05-23-2005 09:51 PM
How program to read files with extension .dat y .cfg files COMTRADE in fedora 1? ivonne Linux - Software 0 11-22-2004 11:42 AM
how do install *.sh files on fedora? krt47 Linux - Newbie 1 08-01-2004 06:33 PM


All times are GMT -5. The time now is 12:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration