본문 바로가기

프로그래밍언어/리눅스

[리눅스] centos7 git1.x -> git 2.x 깃 업그레이드

Homeprew를 사용하기위해 설치해보려했으나 에러발생

 

Git that is available on your system does not satisfy Homebrew requirements.
Please install Git 2.7.0 or newer and add it to your PATH

 

 

깃을 2.7버전이상으로 올려달라

 

기본설치된 git버전은 1.8

git --version
git version 1.8.3.1 

yum 으로 업뎃 시도했으나  변함이없음

 

 

-- 해결방법

 

yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm

 

yum install git
git --version
git version 2.24.1