Add the RPMForge custom repository to CentOSAdd the RPMForge custom repository to CentOS

Posted November 27th, 2008 in Linux/Unix/BSD

The RPMForge custom repository has a lot of useful software applications for CentOS and Red Hat Enterprise Linux which aren't included in the default repositories. This post looks at how to enable it.

First of all go to http://dag.wieers.com/rpm/packages/rpmforge-release/ to work out which package you need to install. It has RPM packages for Red Hat Enteprise Linux 2.1 and up, Red Hat 7 to 9, and Fedora 1 to 3. If you're running a CentOS box you want the Red Hat Enterprise Linux ones.

For example, if you want to install onto a CentOS 5.1 machine running the 32 bit version you want the Red Hat EL 5 - i386 rpm which you could download like so:

wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Now install it using rpm --install, substituting the filename below with the actual file you downloaded:

sudo rpm --install rpmforge-release-0.3.6-1.el5.rf.i386.rpm

If it installs successfully you won't see any messages. You'll just get the command line back again. The next time you go to install something with YUM the list of packages from rpmforge will be included.

Related posts:

Share or Bookmark

Share or Bookmark this page using the following services. You will need to have an account with the selected service in order to post links or bookmark this page.

Subscribe or Follow

Subscribe via RSS or email, or follow me on Facebook or Twitter below. The RSS icon takes you through to Feedburner where you can select the service or application to use.

Comments

blog comments powered by Disqus