Showing posts with label Repository. Show all posts
Showing posts with label Repository. Show all posts

How To Add EPEL Repository To CentOS/Fedora/Redhat

FREQUENTLY ASKED QUESTIONS (Linux)
Q: How to add EPEL repository to yum in CentOS/Fedora/Redhat? 


EPEL repository a large collection of packages based on RPM distributions. Follow the step by step instructions below to install the EPEL repository to yum in your CentOS/Redhat/Redhat linux systems. Login as root user and run the commands. If your system is use a http proxy server to access internet,
configure that proxy server to use yum commands.



Add RPMforge Repository
[root@server ~]# wget http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6
[root@server ~]# rpm --import RPM-GPG-KEY-EPEL-6

[root@server ~]# vi /etc/yum.repos.d/epel.repo
#Creating a new epel.repo file, Add the following 5 lines(Green) to the new file.
[epel]
name=EPEL RPM Repository for Red Hat Enterprise Linux
baseurl=http://ftp.riken.jp/Linux/fedora/epel/6/$basearch/
gpgcheck=1
enabled=0
#And now save the file.


Install package from EPEL Repository
[root@server ~]# yum --enablerepo=epel install [package]
eg: # yum --enablerepo=rpmforge list wine
eg: # yum --enablerepo=rpmforge install wine


Check Related Posts:

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:

Related Posts Plugin for WordPress, Blogger...

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