Linux & Howto/howto2014. 3. 17. 10:45

centos repository가 최신이 아니라서 yum 으로 git 이 설치 안될때가 있다. 그럴때는 아래와 같이 해주면 된다.

If you are using CentOS the built in yum repositories don't seem to have git included and as such, you will need to add an additional repository to the system. For my servers I found that the Webtatic repository seems to be reasonably up to date and the installation for git will then be as follows:

# Add the repository
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm

# Install the latest version of git
yum install --enablerepo=webtatic git-all

To work around Missing Dependency: perl(Git) errors:

yum install --enablerepo=webtatic --disableexcludes=main  git-all

From : http://stackoverflow.com/questions/3779274/how-can-git-be-installed-on-centos-5-5
Posted by lotus

댓글을 달아 주세요