상세 컨텐츠

본문 제목

[centos7] 최신 버전의 git 설치

카테고리 없음

by 정혜리 2022. 12. 6. 17:07

본문

기존 git 설치 확인

$ git --version
-bash: git: command not found

 

엔드 포인트 저장소 설정

$ sudo yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm

 

깃 설치

$ sudo yum install git

 

깃 설치 확인

$ git --version
git version 2.38.1

 

git 공식 홈페이지를 확인해보면 최신버전이 잘 설치되었는지 확인할 수 있다.