How to Install Rpmforge?
Linux distributions namely CentOS and RHEL 5 use yum repositories for the management of software. Yum adds a new repository which is then used as a source to install binary software. Yum repository is configured using /etc/yum.conf file. Configuration also requires additional files which are read from the directories set by the reposdir option. The default paths are /etc/yum.repos.d and /etc/yum/repos.d.
Rpmforge repository is a union of Dag and other packages. They provide over 5000 packages for CentOS, including wine, vlc, mplayer, xmms-mp3, and other popular media tools. The repository doesn’t come as an in-built component of Red Hat or CentOS but is designed to work with those distributions. The packages are normally supplied in RPM format and in most cases are ready to use. The Rpmforge repository does not replace official CentOS base packages.
Installation of Rpmforge in CentOS
Generally,the repository carries useful packages. To install rpmforge, download the rpmforge-release package. Choose one of the two links below, depending on your architecture. If you are unsure of which one to use, you can check your architecture with the command uname -i
* wget http://dag.wieers.com/packages/rpmforge … f.i386.rpm
* wget http://dag.wieers.com/packages/rpmforge … x86_64.rpm
(You can find a complete list of rpmforge-release packages at http://dag.wieers.com/packages/rpmforge-release/ but it is recommended that you use one of the two listed above).
To Install DAG’s GPG key:
#rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
To verify the package you have downloaded:
#rpm -K rpmforge-release-0.3.6-1.el4.rf.*.rpm
Security warning: The rpmforge-release package imports GPG keys into your RPM database. As long as you have verified the package and trust Dag then it should be safe.
To install the package:
#rpm -i rpmforge-release-0.3.6-1.el4.rf.*.rpm
Reducing the priority for RpmForge
This will make sure base package provided by CentOs or redhat will not be replaced with a new version from RpmForge.
You need to install the Yum priorities package as given below:
#yum install yum-priorities
Edit the file /etc/yum.repos.d/rpmforge.repo and add the line below:
To test , you can use the commamd below and should be able to see a priority protections message in the output: