1. 터미널에 git 설치 명령어 입력

# yum install git

 

2. 중간에, disk size 보여주고, 계속 할지 물어보면 y 입력

=============================================================================================================================================================================================
 Package                                            Arch                                     Version                                            Repository                              Size
=============================================================================================================================================================================================
Installing:
 git                                                x86_64                                   1.8.3.1-23.el7_8                                   base                                   4.4 M
Installing for dependencies:
 perl-Error                                         noarch                                   1:0.17020-2.el7                                    base                                    32 k
 perl-Git                                           noarch                                   1.8.3.1-23.el7_8                                   base                                    56 k
 perl-TermReadKey                                   x86_64                                   2.30-20.el7                                        base                                    31 k
 rsync                                              x86_64                                   3.1.2-10.el7                                       base                                   404 k

Transaction Summary
=============================================================================================================================================================================================
Install  1 Package (+4 Dependent packages)

Total download size: 4.9 M
Installed size: 23 M
Is this ok [y/d/N]: y

3. 완료됨. 간단하다. (아래는 완료 화면)

Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:perl-Error-0.17020-2.el7.noarch                                                                                                                                         1/5
  Installing : rsync-3.1.2-10.el7.x86_64                                                                                                                                                 2/5
  Installing : perl-TermReadKey-2.30-20.el7.x86_64                                                                                                                                       3/5
  Installing : perl-Git-1.8.3.1-23.el7_8.noarch                                                                                                                                          4/5
  Installing : git-1.8.3.1-23.el7_8.x86_64                                                                                                                                               5/5
  Verifying  : git-1.8.3.1-23.el7_8.x86_64                                                                                                                                               1/5
  Verifying  : 1:perl-Error-0.17020-2.el7.noarch                                                                                                                                         2/5
  Verifying  : perl-TermReadKey-2.30-20.el7.x86_64                                                                                                                                       3/5
  Verifying  : perl-Git-1.8.3.1-23.el7_8.noarch                                                                                                                                          4/5
  Verifying  : rsync-3.1.2-10.el7.x86_64                                                                                                                                                 5/5

Installed:
  git.x86_64 0:1.8.3.1-23.el7_8

Dependency Installed:
  perl-Error.noarch 1:0.17020-2.el7              perl-Git.noarch 0:1.8.3.1-23.el7_8              perl-TermReadKey.x86_64 0:2.30-20.el7              rsync.x86_64 0:3.1.2-10.el7

Complete!

+ Recent posts