Skip to content
Home
CentOS 5 - install rpmforge yum repo


Install DAG GPG key

wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt     # download DAG GPG key
rpm --import RPM-GPG-KEY.dag.txt                                # import the key
rm RPM-GPG-KEY.dag.txt                                          # clean up after ourselves


Install yum-priorities

yum install yum-priorities


Download and install package (i386 - 32bit)

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.i386.rpm           # install the rpmforge yum repo
rm rpmforge-release-0.3.6-1.el5.rf.i386.rpm                 # clean up after ourselves


Download and install package (x86_64
- 64bit)

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm         # install the rpmforge yum repo
rm rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm               # clean up after ourselves


Set priorities

vim /etc/yum.repos.d/CentOS-Base.repo
[base] or [updates] or [addons] or [extras]
priority=1
[centosplus]
priority=2
vim /etc/yum.repos.d/rpmforge.repo
[rpmforge]
priority=10

 

Comments
Add New
+/-
Write comment
Name:
Email:
 
Title:
 
Please input the anti-spam code that you can read in the image.
Brian Pane  - Worker Bee   |2009-02-12 01:14:26
Can you tell me what is "CentOS 5 - install rpmforge yum repo" is
about?

I looked at the steps but not really comprehending what it means, I
appreciate an explanation.

Thanks in advanced!
Brian Pane  - Worker Bee   |2009-02-12 01:16:40
CORRECTION:

I looked at the steps but do not really comprehend what each step
does, I
appreciate an explanation.

Thanks!
THM  - a minimum explanation   |2009-06-19 15:27:29
All these steps install a new software
repository:
http://en.wikipedia.org/wiki/Software_ repository
td  - makecache   |2009-07-16 20:58:46
Don't forget to run:

yum makecache
dStruct  - Command consolidation   |2010-01-02 04:54:29
Love the tutorial, very informative.

I'm not sure if you mean to intentionally
list each step 1 by 1 or not, but you can consolidate most of those steps down
into much more simple commands.

For example..

rpm --import
http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag .txt

rpm -Uhv
http://packages.sw.be/rpmforge-release/rpmforge-re
lease-0.3.6-1.el5.rf.i386.rpm

And when you set the yum priorities you should
also remove any Enabled = 0 entries and set a low priority so they're always
enabled but used after the base/updates/addons stuff.

Thanks =)
ekazamov  - Bravo   |2010-05-11 03:12:06
Thx..very Helpful...keep on writing
 

Main Menu

Home

Login Form






Lost Password?
No account yet? Register

JoomlaWatch

JoomlaWatch Stats 1.2.6 by Matej Koval