soft@appleple.com

【Linux】CentOSにgitインストール方法

/etc/yum.repos.d/rpmforge.repo
以下の内容を作成

# cat > rpmforge.repo

------------------------------------------------------
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
\#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
\#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

------------------------------------------------------

# yum install git --enablerepo=rpmforge

Last Update : 2013年07月19日 (金) 16:44