Git取付

4784 ワード

CentOS Linux release 7.2.1511 (Core) 
$ git --version
-bash: git: command not found
$ yum install git
Loaded plugins: fastestmirror
gitlab_gitlab-ce/x86_64/signature                        |  836 B     00:00     
gitlab_gitlab-ce/x86_64/signature                        | 1.0 kB     00:00 !!! 
gitlab_gitlab-ce-source/signature                        |  836 B     00:00     
gitlab_gitlab-ce-source/signature                        |  951 B     00:00 !!! 
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.8.3.1-6.el7_2.1 will be installed
--> Processing Dependency: perl-Git = 1.8.3.1-6.el7_2.1 for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: rsync for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Running transaction check
---> Package libgnome-keyring.x86_64 0:3.8.0-3.el7 will be installed
---> Package perl-Error.noarch 1:0.17020-2.el7 will be installed
---> Package perl-Git.noarch 0:1.8.3.1-6.el7_2.1 will be installed
---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed
---> Package rsync.x86_64 0:3.0.9-17.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch         Version                   Repository  Size
================================================================================
Installing:
 git                    x86_64       1.8.3.1-6.el7_2.1         base       4.4 M
Installing for dependencies:
 libgnome-keyring       x86_64       3.8.0-3.el7               base       109 k
 perl-Error             noarch       1:0.17020-2.el7           base        32 k
 perl-Git               noarch       1.8.3.1-6.el7_2.1         base        53 k
 perl-TermReadKey       x86_64       2.30-20.el7               base        31 k
 rsync                  x86_64       3.0.9-17.el7              base       360 k

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

Total download size: 5.0 M
Installed size: 23 M
Is this ok [y/d/N]: y
Downloading packages:
(1/6): libgnome-keyring-3.8.0-3.el7.x86_64.rpm             | 109 kB   00:00     
(2/6): perl-Error-0.17020-2.el7.noarch.rpm                 |  32 kB   00:00     
(3/6): perl-Git-1.8.3.1-6.el7_2.1.noarch.rpm               |  53 kB   00:00     
(4/6): perl-TermReadKey-2.30-20.el7.x86_64.rpm             |  31 kB   00:00     
(5/6): rsync-3.0.9-17.el7.x86_64.rpm                       | 360 kB   00:00     
(6/6): git-1.8.3.1-6.el7_2.1.x86_64.rpm                    | 4.4 MB   00:04     
--------------------------------------------------------------------------------
Total                                              1.2 MB/s | 5.0 MB  00:04     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:perl-Error-0.17020-2.el7.noarch                            1/6 
  Installing : libgnome-keyring-3.8.0-3.el7.x86_64                          2/6 
  Installing : rsync-3.0.9-17.el7.x86_64                                    3/6 
  Installing : perl-TermReadKey-2.30-20.el7.x86_64                          4/6 
  Installing : perl-Git-1.8.3.1-6.el7_2.1.noarch                            5/6 
  Installing : git-1.8.3.1-6.el7_2.1.x86_64                                 6/6 
  Verifying  : perl-TermReadKey-2.30-20.el7.x86_64                          1/6 
  Verifying  : 1:perl-Error-0.17020-2.el7.noarch                            2/6 
  Verifying  : rsync-3.0.9-17.el7.x86_64                                    3/6 
  Verifying  : git-1.8.3.1-6.el7_2.1.x86_64                                 4/6 
  Verifying  : libgnome-keyring-3.8.0-3.el7.x86_64                          5/6 
  Verifying  : perl-Git-1.8.3.1-6.el7_2.1.noarch                            6/6 

Installed:
  git.x86_64 0:1.8.3.1-6.el7_2.1                                                

Dependency Installed:
  libgnome-keyring.x86_64 0:3.8.0-3.el7  perl-Error.noarch 1:0.17020-2.el7     
  perl-Git.noarch 0:1.8.3.1-6.el7_2.1    perl-TermReadKey.x86_64 0:2.30-20.el7 
  rsync.x86_64 0:3.0.9-17.el7           

Complete!
$ git --version
git version 1.8.3.1