jump to navigation

How to Install rpmforge yum repo on CentOS 5 February 23, 2011

Posted by Tournas Dimitrios in Linux.

Installing the rpmforge yum repository on CentOS 5 is really easy. Follow the simple steps below and the rpmforge repo will be installed in seconds .

  1. Verify 32 Bit or 64 Bit: Verify if your server is 32 bit or 64 bit
    # uname -a
    #1 SMP Wed Jan 5 14:22:07 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
    #1 SMP Wed Jan 12 09:22:52 EDT 2008 i686 i686 i386 GNU/Linux
    As you can see above the 64 bit server will show x86_64 numerous times after the install date and time. The 32 bit system will show i686 and i386 after the install date and time. So it is very easy to verify if a system is 32 bit versus 64 bit using the “uname -a” command from a shell.
  2. Install RPMFORGE: Verify the latest release of the rpmforge directory here
    rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
    rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm  

    This will install a file (rpmforge.repo) in /etc/yum.repos.d and a rpm-gpg key in /etc/pki/rpm-gpg. The rpmforge repo will now be included when installing and updating files using yum. To turn it off simply edit /etc/yum.repos.d/rpmforge.repo and set enabled to 0.

Links :


No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s