CentOS7 git 2.x 설치하기

1 개요[ | ]

CentOS 7 git 2.x 설치하기
CentOS 7 git 최신버전 설치하기

2 문제상황[ | ]

[root@centos7 ~]# git --version
git version 1.8.3.1
[root@centos7 ~]# yum install git
... (생략)
Package git-1.8.3.1-22.el7_8.x86_64 already installed and latest version
Nothing to do

3 해결방법[ | ]

[root@centos7 ~]# yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm
[root@centos7 ~]# yum install git
... (생략)
=============================================================================================
 Package              Arch               Version                  Repository            Size
=============================================================================================
Updating:
 git                  x86_64             2.24.1-1.ep7             endpoint             139 k
Updating for dependencies:
 perl-Git             noarch             2.24.1-1.ep7             endpoint              47 k

Transaction Summary
=============================================================================================
Upgrade  1 Package (+1 Dependent package)

Total size: 186 k
Is this ok [y/d/N]: y
... (생략)
Updated:
  git.x86_64 0:2.24.1-1.ep7                                                                  

Dependency Updated:
  perl-Git.noarch 0:2.24.1-1.ep7                                                             

Complete!
[root@centos7 ~]# git --version
git version 2.24.1


4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}