How to create you repo's using gedit. This is intended for our newbies. Dont forget to import the keys. Also you will learn how to enable and disable a particular repo which will be at the end of this thread. PLEASE NOTE THAT RECENTLY THERE HAS BEEN SOME CONFLICTING ISSUES WITH DAGS AND OTHER REPOSITORIES. It is recommended to use livna and fedora extras.
TIP: FOR fc5 I am trying just ONE REPO and it's working fine so far I've chosen freshrpms and livna BUT livna is disable all the time. A few major changes have been done to fedora so to install the repo just run this command:If you want to use livna just run this:Code:rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpmPlease note GPG keys are imported when using the repo. It will ask you and you accept it "Y".Code:rpm -ivh http://rpm.livna.org/livna-release-5.rpm
Atrpms has to be added manuallly as we have done in fc 3 and 4. As shown below.
1. THESE ARE THE COMMANDS TO USE YUM.
2. Open terminal and become root (su + roots password):
3. Type:copy and paste it and CLICK ON SAVE!!:Code:gedit /etc/yum.repos.d/freshrpms.repo
[freshrpms]
name=FreshRPMS-Fresh
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
enabled=1
gpgcheck=1
REPOSITORY PUBLIC KEY: rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt
3.copy and paste itCode:gedit /etc/yum.repos.d/dag.repo
[dag]
name=Dag
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag/
enabled=1
gpgcheck=1
REPOSITORY PUBLIC KEY: rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
4.copy and paste it:Code:gedit /etc/yum.repos.d/livna.repo
[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stable
enabled=1
gpgcheck=1
[livna-unstable]
name=Livna.org Fedora Compatible Packages (unstable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstable
enabled=1
gpgcheck=1
[livna-testing]
name=Livna.org Fedora Compatible Packages (testing)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.testing
enabled=1
gpgcheck=1
REPOSITORY PUBLIC KEY: rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
5.copy and paste it:Code:gedit /etc/yum.repos.d/atrpms.repo
[atrpms-stable]
name=ATrpms for Fedora Core $releasever stable
baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-stable
enabled=1
gpgcheck=1
REPOSITORY PUBLIC KEY: rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms
This is my /etc/yum.conf for fedora updates
[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
REPOSITORY PUBLIC KEY: rpm --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY*
Fedora Extras
[extras]Code:gedit /etc/yum.repos.d/extras.repo
name=Fedora Extras - $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
gpgcheck=1
gpgkey=http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
enabled=1
REPOSITORY PUBLIC KEY: rpm --import http://download.fedora.redhat.com/pu...-Fedora-Extras
cybrjacke has this thread using vi editor
Here are GPG-keys at fedora FAQ
This is how you use yum to install and uninstall: here
These are the commands to enable or disable a particular repo:
Disable:
for example: yum --disablerepo=livna-stable if you want to install from a particular repo.Code:yum --disablerepo=repo_name_here
Enable:
for example: yum --enablerepo=livna-stable install xmms-mp3.Code:yum --enablerepo=repo_name_here
tchung's at www.fedoranews.org has 2 tutorials:
1st tutorial
2nd tutorial
My Fedora Core 4 Repos:# # Note: This file is no longer the entire yum configuration
# for fedorafaq.org. See http://www.fedorafaq.org/#yumconf
# for details on how to set up your system with the new
# yum configuration.
[main]
#cachedir=/var/cache/yum20
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
#
[livna]
name=Livna.org Fedora Compatible Packages
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn
gpgcheck=1
enabled=1
#
[atrpms]
name=Fedora Core 4 - i386 - ATrpms
baseurl=http://dl.atrpms.net/fc4-i386/atrpms/stable
failovermethod=priority
#
#
[release]
name=Fedora Core 4 - i386 - Base
baseurl=http://dl.atrpms.net/fc4-i386/redhat/release
http://ayo.freshrpms.net/fedora/linux/4/i386/os/
http://download.fedora.redhat.com/pu...ore/4/i386/os/
failovermethod=priority
#
#
[updates]
name=Fedora Core 4 - i386 - Released Updates
baseurl=http://dl.atrpms.net/fc4-i386/redhat/updates
http://ayo.freshrpms.net/fedora/linux/4/i386/updates/
http://download.fedora.redhat.com/pu...pdates/4/i386/
failovermethod=priority
#
#
[extras]
name=Fedora Core 4 - i386 - Extras
baseurl=http://dl.atrpms.net/fc4-i386/redhat/extras
http://ayo.freshrpms.net/fedora/linux/4/i386/extras/
http://download.fedora.redhat.com/pu...extras/4/i386/
failovermethod=priority
#
#
[freshrpms]
name=Fedora Core 4 - i386 - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/4/i386/freshrpms
http://freshrpms.atrpms.net/fedora/l...i386/freshrpms
failovermethod=priority
#
#
[gstreamer]
name=Fedora Core 4 - i386 - GStreamer
baseurl=http://gstreamer.freedesktop.org/pkg/fedora/4/i386/yum/gst
failovermethod=priority
#
#
[jpackage-generic-free]
name=Fedora Core 4 - common - JPackage 1.6 generic/free
baseurl=http://mirrors.sunsite.dk/jpackage/1.6/generic/free
ftp://jpackage.hmdc.harvard.edu/JPac...6/generic/free
failovermethod=priority
#
#
[jpackage-generic-devel]
name=Fedora Core 4 - common - JPackage 1.6 generic/devel
baseurl=http://mirrors.sunsite.dk/jpackage/1.6/generic/devel
ftp://jpackage.hmdc.harvard.edu/JPac.../generic/devel
failovermethod=priority
#
#
[jpackage-distspecific-free]
name=Fedora Core 4 - common - JPackage 1.6
baseurl=http://mirrors.sunsite.dk/jpackage/1.6/fedora-4/free
ftp://jpackage.hmdc.harvard.edu/JPac.../fedora-4/free
failovermethod=priority
#
#
# [jpackage-distspecific-devel]
# name=Fedora Core 4 - i386 - JPackage 1.6
# baseurl=http://mirrors.sunsite.dk/jpackage/1.6/fedora-4/devel
# ftp://jpackage.hmdc.harvard.edu/JPac...fedora-4/devel
# failovermethod=priority
#
# There are also testing and unstable repos
# testing requires stable, and unstable requires testing
#
[kde-redhat]
name=Fedora Core 4 - i386 - kde-redhat
baseurl=http://apt.kde-redhat.org/apt/kde-redhat/fedora/4/i386/stable
failovermethod=priority
#
# There are also testing and unstable repos
# testing requires stable, and unstable requires testing
#
[kde-redhat-all]
name=Fedora Core 4 - i386 - kde-redhat distribution independent
baseurl=http://apt.kde-redhat.org/apt/kde-redhat/all/stable
failovermethod=priority
#
#
[newrpms]
name=Fedora Core 4 - i386 - NewRPMS
baseurl=http://newrpms.atrpms.net/apt/redhat/en/i386/fc4
http://newrpms.sunsite.dk/apt/redhat/en/i386/fc4
failovermethod=priority
#
# alternatives to production: testing and experimental
# there is also a graveyard repo
#
[root@laptopFC4 imdeemvp]#