Programming - cpueblo.com

yum 으로 Git 2.x 설치


글쓴이 : 유광희 날짜 : 2017-09-15 (금) 11:01 조회 : 12347
1. wandisco 저장소 추가

- Cent OS 7
rpm -Uvh http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm

- Cent OS 6
rpm -Uvh http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm
* 혹 CentOS 에서 7 버전 RPM 을 설치했을 경우 아래로 삭제
yum remove wandisco-git-release-7-2.noarch
2. yum install git 실행하여 아래처럼 최신 버전 설치가 가능합니다

=================================================================================================================================================================================
 Package                               Arch                                Version                                               Repository                                 Size
=================================================================================================================================================================================
Updating:
 git                                   x86_64                              2.14.1-1.WANdisco.381                                 WANdisco-git                               12 M
Updating for dependencies:
 perl-Git                              noarch                              2.14.1-1.WANdisco.381                                 WANdisco-git                               20 k

Transaction Summary
=================================================================================================================================================================================
Upgrade       2 Package(s)