RPMforge is a collaboration of Dag, Dries, and other packagers. They provide over 4000 packages for CentOS, including mplayer, xmms-mp3, and other popular media tools. The RPMforge collaboration repackages many RPMs that are not included as part of the stock Linux distributions, including versions of many packages still in testing. Visit the
RPMforge Website for more information.
Requirements
Install RPMforge Repository on CentOS
Note |
The file names listed are for specific versions of the operating system and will vary slightly. Check the repository for the correct file name. |
- Download the rpmforge-release package. Choose one of the two options below, selecting to match your host's architecture. If you are unsure of which one to use you can check your architecture with the command
uname -i
i386: http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpmwget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
x86_64: http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
- Install DAG’s GPG Key
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
- Verify the package you have downloaded
rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm
- Install the package
rpm -ivh rpmforge-release-0.5.2-2.el5.rf.*.rpm
- Delete the downloaded RPMforge-release package
Configure RPMforge Repository on CentOS
- Open the RPMforge configuration file
/etc/yum.repos.d/rpmforge.repo
- Ensure the RPMForge repository is enabled:
enabled = 1
- Add the following text to the end of the RPMForge repository entry
priority = 3
- Check that you got the priorities set correctly
yum check-update
You should output similar to the following:
Loaded plugins: fastestmirror, priorities
…
xxx packages excluded due to repository priority protections
Managing Repositories
- List all enabled yum repositories:
yum repolist
- Temporary Disable RPMForge repository:
- To disable the repo, open the RPMforge configuration file
/etc/yum.repos.d/rpmforge.repo
- Change the enabled flag to 0:
enabled = 0
- remove rpmforge as package repository
rpm -e rpmforge
This command removes the /etc/yum.repos.d/rpmforge.repo file.
References
Thanks a bunch for the help!
ReplyDelete