Git 설치 방법

category DevOps/GitLab 2020. 3. 9. 14:04
728x90
반응형

1. 설치

[root@server ~]# yum install git -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                                                                                                                                  | 8.4 kB  00:00:00
 * base: data.aonenetworks.kr
 * epel: mirror2.totbb.net
 * extras: data.aonenetworks.kr
 * updates: data.aonenetworks.kr
base                                                                                                                                                                                                                  | 3.6 kB  00:00:00
bintray--sbt-rpm                                                                                                                                                                                                      | 1.3 kB  00:00:00
epel                                                                                                                                                                                                                  | 5.3 kB  00:00:00
extras                                                                                                                                                                                                                | 2.9 kB  00:00:00
updates                                                                                                                                                                                                               | 2.9 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.8.3.1-21.el7_7 will be installed
--> Processing Dependency: perl-Git = 1.8.3.1-21.el7_7 for package: git-1.8.3.1-21.el7_7.x86_64
--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-21.el7_7.x86_64
--> Processing Dependency: perl(Git) for package: git-1.8.3.1-21.el7_7.x86_64
--> Processing Dependency: perl(Error) for package: git-1.8.3.1-21.el7_7.x86_64
--> Running transaction check
---> Package perl-Error.noarch 1:0.17020-2.el7 will be installed
---> Package perl-Git.noarch 0:1.8.3.1-21.el7_7 will be installed
---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed
--> Finished Dependency Resolution

2. 설치 확인

[root@server ~]# git --version
git version 1.8.3.1
728x90
반응형

'DevOps > GitLab' 카테고리의 다른 글

GitLab Runner 설치 및 등록  (0) 2022.05.25
Git Password 저장 방법  (0) 2022.05.18
GitLab 백업 및 복원 방법  (1) 2022.05.10
GitLab API를 활용한 마이그레이션  (0) 2022.05.09
ubuntu에 GitLab을 설치해보자  (0) 2022.02.22