본문 바로가기

카테고리 없음

CentOS에서 git 설치하기

yum을 통해 git 설치하기

$ sudo yum install git

 

설치 과정

Last metadata expiration check: 0:13:23 ago on Sun 05 Apr 2020 10:19:55 AM KST.
Dependencies resolved.
=================================================================================================================================================================================================
 Package                                            Architecture                             Version                                           Repository                                   Size
=================================================================================================================================================================================================
Installing:
 git                                                x86_64                                   2.18.2-1.el8_1                                    AppStream                                   186 k
Installing dependencies:
 git-core                                           x86_64                                   2.18.2-1.el8_1                                    AppStream                                   4.8 M
 git-core-doc                                       noarch                                   2.18.2-1.el8_1                                    AppStream                                   2.3 M
 perl-Error                                         noarch                                   1:0.17025-2.el8                                   AppStream                                    46 k
 perl-Git                                           noarch                                   2.18.2-1.el8_1                                    AppStream                                    77 k
 perl-TermReadKey                                   x86_64                                   2.37-7.el8                                        AppStream                                    40 k

Transaction Summary
=================================================================================================================================================================================================
Install  6 Packages

Total download size: 7.4 M
Installed size: 42 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): git-2.18.2-1.el8_1.x86_64.rpm                                                                                                                             2.4 MB/s | 186 kB     00:00    
(2/6): perl-Error-0.17025-2.el8.noarch.rpm                                                                                                                       1.4 MB/s |  46 kB     00:00    
(3/6): perl-Git-2.18.2-1.el8_1.noarch.rpm                                                                                                                        2.6 MB/s |  77 kB     00:00    
(4/6): perl-TermReadKey-2.37-7.el8.x86_64.rpm                                                                                                                    1.0 MB/s |  40 kB     00:00    
(5/6): git-core-2.18.2-1.el8_1.x86_64.rpm                                                                                                                         15 MB/s | 4.8 MB     00:00    
(6/6): git-core-doc-2.18.2-1.el8_1.noarch.rpm                                                                                                                    6.9 MB/s | 2.3 MB     00:00    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                            7.8 MB/s | 7.4 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                         1/1 
  Installing       : git-core-2.18.2-1.el8_1.x86_64                                                                                                                                          1/6 
  Installing       : git-core-doc-2.18.2-1.el8_1.noarch                                                                                                                                      2/6 
  Installing       : perl-TermReadKey-2.37-7.el8.x86_64                                                                                                                                      3/6 
  Installing       : perl-Error-1:0.17025-2.el8.noarch                                                                                                                                       4/6 
  Installing       : perl-Git-2.18.2-1.el8_1.noarch                                                                                                                                          5/6 
  Installing       : git-2.18.2-1.el8_1.x86_64                                                                                                                                               6/6 
  Running scriptlet: git-2.18.2-1.el8_1.x86_64                                                                                                                                               6/6 
  Verifying        : git-2.18.2-1.el8_1.x86_64                                                                                                                                               1/6 
  Verifying        : git-core-2.18.2-1.el8_1.x86_64                                                                                                                                          2/6 
  Verifying        : git-core-doc-2.18.2-1.el8_1.noarch                                                                                                                                      3/6 
  Verifying        : perl-Error-1:0.17025-2.el8.noarch                                                                                                                                       4/6 
  Verifying        : perl-Git-2.18.2-1.el8_1.noarch                                                                                                                                          5/6 
  Verifying        : perl-TermReadKey-2.37-7.el8.x86_64                                                                                                                                      6/6 

Installed:
  git-2.18.2-1.el8_1.x86_64               git-core-2.18.2-1.el8_1.x86_64      git-core-doc-2.18.2-1.el8_1.noarch      perl-Error-1:0.17025-2.el8.noarch      perl-Git-2.18.2-1.el8_1.noarch     
  perl-TermReadKey-2.37-7.el8.x86_64     

Complete!