본문 바로가기
GIT

[ GIT ] GIT 소스 설치 (리눅스)

by 정윤재 2020. 4. 4.

1. Git 사이트에 접속 하여 다운로드 받습니다.

https://github.com/git/git/releases

 

git/git

Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements. - git/git

github.com

 

또는

https://mirrors.edge.kernel.org/pub/software/scm/git/

 

Index of /pub/software/scm/git/

 

mirrors.edge.kernel.org

2. 다운로드 받은 소스 압축을 풀어 줍니다.

   tar xvfz git-2.26.0.tar.gz

 

3. Configure 를 통해 설정을 해 줍니다.

   cd git-2.26.0

   make configure

   ./configure --prefix=/app/git2.26

   (autoconf 가 없는 경우 https://shonm.tistory.com/436 를 참고 하세요)

 

4. Make 컴파일을 해줍니다.

   make && make install

 

만약

Can't locate Data/Dumper.pm in @INC 에러 발생시

https://shonm.tistory.com/628 를 참고 하세요


댓글