How To Add RPMforge Repository To YUM

FREQUENTLY ASKED QUESTIONS (Repository)
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
[root@server ~]# yum --enablerepo=rpmforge install <package name>
eg: # yum --enablerepo=rpmforge list wine
eg: # yum --enablerepo=rpmforge install wine

Check Related Posts:

Was this helpfull ?

0 comments:

Related Posts Plugin for WordPress, Blogger...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons