본문 바로가기

TroubleShooting/Linux

CentOS 5.X 에서 git 설치

728x90

CentOS 5.X 대에서 yum 을 이용해서 git(클라이언트) 설치를 하려면 찾지를 못한다는 에러가 나온다. 참조하는 레포지토리에서 해당 패키지가 없어서 인데, 구글 검색을 통해 다음과 같이 레포지토리를 변경하고 설치했다.


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

( -> binary repository 를 가져온다)


# yum install --enablerepo=webtatic git-all

( -> git 관련한 패키지 전체 설치)

(--> 오류가 날경우, 해당 패키지만 선택해서 설치하자)


# yum install --enablerepo=webtatic git

(-> git 클라이언트만 설치)


도움받은 곳

http://www.omniweb.com/wordpress/?p=548