1.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# yum install git
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink                                                                                 | 7.6 kB     00:00
 * base: ftp.neowiz.com
 * epel: ftp.jaist.ac.jp
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
HDP-2.3                                                                                       | 2.9 kB     00:00
HDP-UTILS-1.1.0.20                                                                            | 2.9 kB     00:00
Updates-ambari-2.1.0                                                                          | 2.9 kB     00:00
base                                                                                          | 3.7 kB     00:00
epel                                                                                          | 4.7 kB     00:00
epel/primary_db                                                                               | 6.0 MB     00:01
extras                                                                                        | 3.4 kB     00:00
updates                                                                                       | 3.4 kB     00:00
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.7.1-9.el6_9 will be installed
--> Processing Dependency: perl-Git = 1.7.1-9.el6_9 for package: git-1.7.1-9.el6_9.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-9.el6_9.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-9.el6_9.x86_64
--> Running transaction check
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-9.el6_9 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=====================================================================================================================
 Package                     Arch                    Version                          Repository                Size
=====================================================================================================================
Installing:
 git                         x86_64                  1.7.1-9.el6_9                    updates                  4.6 M
Installing for dependencies:
 perl-Error                  noarch                  1:0.17015-4.el6                  base                      29 k
 perl-Git                    noarch                  1.7.1-9.el6_9                    updates                   29 k
 
Transaction Summary
=====================================================================================================================
Install       3 Package(s)
 
Total download size: 4.7 M
Installed size: 15 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): git-1.7.1-9.el6_9.x86_64.rpm                                                           | 4.6 MB     00:00
(2/3): perl-Error-0.17015-4.el6.noarch.rpm                                                    |  29 kB     00:00
(3/3): perl-Git-1.7.1-9.el6_9.noarch.rpm                                                      |  29 kB     00:00
---------------------------------------------------------------------------------------------------------------------
Total                                                                                5.5 MB/s | 4.7 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:perl-Error-0.17015-4.el6.noarch                                                                 1/3
  Installing : git-1.7.1-9.el6_9.x86_64                                                                          2/3
  Installing : perl-Git-1.7.1-9.el6_9.noarch                                                                     3/3
  Verifying  : 1:perl-Error-0.17015-4.el6.noarch                                                                 1/3
  Verifying  : git-1.7.1-9.el6_9.x86_64                                                                          2/3
  Verifying  : perl-Git-1.7.1-9.el6_9.noarch                                                                     3/3
 
Installed:
  git.x86_64 0:1.7.1-9.el6_9
 
Dependency Installed:
  perl-Error.noarch 1:0.17015-4.el6                          perl-Git.noarch 0:1.7.1-9.el6_9
 
Complete!
 
cs



2.

1
2
3
# git --version
git version 1.7.1
 
cs



+ Recent posts