RPMforge repository is a collaboration of Dag, Dries, and other packagers. The default RPMforge repository does not replace
any CentOS base packages. This post covers the steps to configure
RPMforge repository on linux CentOS 6.3. This steps has been tested on
CentOS 6.3 and should be working on Redhat linux Enterprise 6.
1. Download the rpmforge-release package and DAG’s GPG key :
2. Install DAG’s GPG key :
3. Verify the rpmforge-release package that you have downloaded :
4. If ok, proceed to install the rpmforge-release package using this command :
5. Proceed to configure RPMforge repository. Open the RPMforge configuration file and insert “priority=3″ after “enabled = 1″ in the [rpmforge] section as below :
6. Check the updated repository list in /etc/yum.repos.d using the following command :
7. You can start using RPMforge Repository on your RHEL 6 or CentOS 6 linux server :
1. Download the rpmforge-release package and DAG’s GPG key :
[root@centos63 ~]# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm [root@centos63 ~]# wget http://apt.sw.be/RPM-GPG-KEY.dag.txt |
[root@centos63 ~]# rpm --import RPM-GPG-KEY.dag.txt |
[root@centos63 ~]# rpm -K rpmforge-release-0.5.2-2.el6.rf.i686.rpm rpmforge-release-0.5.2-2.el6.rf.i686.rpm: (sha1) dsa sha1 md5 gpg OK |
[root@centos63 ~]# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm Preparing... ########################################### [100%] 1:rpmforge-release ########################################### [100%] |
[root@centos63 ~]# vi /etc/yum.repos.d/rpmforge.repo |
### Name: RPMforge RPM Repository for RHEL 6 - dag ### URL: http://rpmforge.net/ [rpmforge] name = RHEL $releasever - RPMforge.net - dag baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge #mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge enabled = 1 priority = 3 protect = 0 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag gpgcheck = 1 [rpmforge-extras] name = RHEL $releasever - RPMforge.net - extras baseurl = http://apt.sw.be/redhat/el6/en/$basearch/extras mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-extras #mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras enabled = 0 protect = 0 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag gpgcheck = 1 [rpmforge-testing] name = RHEL $releasever - RPMforge.net - testing baseurl = http://apt.sw.be/redhat/el6/en/$basearch/testing mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-testing #mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-testing enabled = 0 protect = 0 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag gpgcheck = 1 |
[root@centos63 ~]# yum repolist Loaded plugins: fastestmirror, presto Loading mirror speeds from cached hostfile * base: mirrors.hostemo.com * extras: mirrors.hostemo.com * rpmforge: mirror.oscc.org.my * updates: mirrors.hostemo.com repo id repo name status CentOS6.3-Repository DVD-CentOS6.3 repository 4,776 base CentOS-6 - Base 4,776 extras CentOS-6 - Extras 4 rpmforge RHEL 6 - RPMforge.net - dag 4,448 updates CentOS-6 - Updates 202 repolist: 14,206 |
[root@centos63 ~]# yum install clamd -y
2 comments:
Thanks for your post, I'm new to CentOS and it helped installing some software that isn't included in the official repos.
Brilliant - thanks for this
Post a Comment