LINUX Add repository for yum
1
Add RPMforge Repository for yum because that has many useful packages.
[root@dlp ~]#wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
[root@dlp ~]#rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm Preparing... ###################################### [100%] 1:rpmforge-release ###################################### [100%]
[root@dlp ~]#sed -i -e "s/enabled = 1/enabled = 0/g" /etc/yum.repos.d/rpmforge.repo
# when you use the repository, input yum command like follows
[root@dlp ~]# yum --enablerepo=rpmforge install 2
Add repository EPEL that is provided from Fedora project.
[root@dlp ~]#wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@dlp ~]#rpm -Uvh epel-release-6-8.noarch.rpm Preparing... ###################################### [100%] 1:epel-release ###################################### [100%]
[root@dlp ~]#sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/epel.repo
# when you use the repository, input yum command like follows
[root@dlp ~]# yum --enablerepo=epel install
Comments
Post a Comment