1. Introduction
In this post i will show on how to add the RPMforge repository into Linux Red Hat Enterprise Linux 6 (RHEL 6) and also applicable on CentOS 6. RPMforge repository is a collaboration of Dag, Dries, and other packagers. This steps has been tested on RHEL 6 and should be working on CentOS 6. Assumed only one repository exist in /etc/yum.repos.d which is local yum repository using DVD Media.
2.Install RPMforge Repository on CentOS 6.5
Step 1. Download the rpmforge-release package
For 32 bits
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
For 64 bits
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpmStep 2 : Install RPMforge
For 32 bits
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
For 64 bits
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpmStep 3: Proceed to configure RPMforge repository. Open the RPMforge configuration file and insert “priority=3″ after “enabled = 1″ in the [rpmforge] section as below :
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
0 comments:
Post a Comment