Q: How to add RPMforge repository to yum in CentOS/Fedora/Redhat?
RPMforge repository is a collaboration of dag packages and provides over thousands of usefull packages like wine, media players, multimedia packages and lots more for RPM based distributions like Redhat, Centos and Fedora. All the packages are in .RPM format.
You can use RPMforge repository along with your operating system's own software repository. And it will not replace your default repository
Add RPMforge Repository
Login as superuser(root) and run the below commands.
[root@server ~]# wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
[root@server ~]# rpm --import RPM-GPG-KEY.dag.txt
[root@server ~]# vi /etc/yum.repos.d/rpmforge.repo
#Creating a new rpmforge.repo file, Add the following 5 lines(Green) to the new file.
[rpmforge]
name=RPMforge RPM repository for Red Hat Enterprise Linux
baseurl=http://ftp.riken.jp/Linux/dag/redhat/el6/en/$basearch/rpmforge/
gpgcheck=1
enabled=0
#Now save the file.
Install package from RPMforge Repository
eg: # yum --enablerepo=rpmforge list wine
eg: # yum --enablerepo=rpmforge install wine
Check Related Posts:
0 comments:
Post a Comment