Install rpmforge on Centos 6.3

How to install rpmforge on Centos 6.3

RPMforge is one popular repositories on Linux, We are used to install Centos package by yum.

Step 1: Check your system is i686 or x64 arch to download correct RPMforge package.

[root@Centos6 ~]# uname -a
Linux Centos6.3 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux
[root@Centos6 ~]#

Step 2: Download RPMforge package

[root@Centos6 ~]# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
–2012-12-05 15:08:33– http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Resolving packages.sw.be… 78.46.17.228
Connecting to packages.sw.be|78.46.17.228|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm [following]
–2012-12-05 15:08:35– http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Resolving pkgs.repoforge.org… 78.46.17.228
Connecting to pkgs.repoforge.org|78.46.17.228|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://rpmforge.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm [following]
–2012-12-05 15:08:35– http://rpmforge.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Resolving rpmforge.sw.be… 78.46.17.228
Connecting to rpmforge.sw.be|78.46.17.228|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: http://tree.repoforge.org/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm [following]
–2012-12-05 15:08:36– http://tree.repoforge.org/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Resolving tree.repoforge.org… 78.46.17.228
Connecting to tree.repoforge.org|78.46.17.228|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm [following]
–2012-12-05 15:08:37– http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
Resolving apt.sw.be… 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 12732 (12K) [application/x-redhat-package-manager]
Saving to: ârpmforge-release-0.5.2-2.el6.rf.i686.rpm.1â100%[===========================================================================================================================================================>] 12,732 16.3K/s in 0.8s2012-12-05 15:08:38 (16.3 KB/s) – ârpmforge-release-0.5.2-2.el6.rf.i686.rpm

Step 3: Import key and Install RPMforge

[root@Centos6 ~]# rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
[root@Centos6 ~]# rpm -K rpmforge-release-0.5.2-2.el6.rf.*.rpm
rpmforge-release-0.5.2-2.el6.rf.i686.rpm: (sha1) dsa sha1 md5 gpg OK
[root@Centos6 ~]# rpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpm
package rpmforge-release-0.5.2-2.el6.rf.i686 is  installed.

Step 4: Test to download and install one package.

[root@Centos6 ~]# yum install hping
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.vonline.vn
* extras: mirrors.vonline.vn
* rpmforge: mirror-fpt-telecom.fpt.net
* updates: mirrors.vonline.vn
base | 3.7 kB 00:00
extras | 3.5 kB 00:00
extras/primary_db | 24 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 3.5 kB 00:00
updates/primary_db | 3.8 MB 00:16
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package hping.i686 0:2.0.0-1.rc3.2.el6.rf will be installed
–> Finished Dependency ResolutionDependencies Resolved=====================================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================================
Installing:
hping i686 2.0.0-1.rc3.2.el6.rf rpmforge 74 k

Transaction Summary
=====================================================================================================================================================================================================
Install 1 Package(s)

Total download size: 74 k
Installed size: 156 k
Is this ok [y/N]: y
Downloading Packages:
hping-2.0.0-1.rc3.2.el6.rf.i686.rpm | 74 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : hping-2.0.0-1.rc3.2.el6.rf.i686 1/1
Verifying : hping-2.0.0-1.rc3.2.el6.rf.i686 1/1

Installed:
hping.i686 0:2.0.0-1.rc3.2.el6.rf

Complete!
[root@Centos6 ~]#

That’s all. Thanks for using IThelpblog.com.

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>