CentOS 安装git

yum install -y git

 

[root@insurance ~]# yum install -y git
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
base                                                             | 3.7 kB     00:00     
epel                                                             | 4.7 kB     00:00     
epel/primary_db                                                  | 6.1 MB     00:00     
extras                                                           | 3.4 kB     00:00     
extras/primary_db                                                |  29 kB     00:00     
updates                                                          | 3.4 kB     00:00     
updates/primary_db                                               | 8.9 MB     00:00     
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.7.1-10.el6_10 will be installed
--> Processing Dependency: perl-Git = 1.7.1-10.el6_10 for package: git-1.7.1-10.el6_10.x86_64
--> Processing Dependency: rsync for package: git-1.7.1-10.el6_10.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-10.el6_10.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-10.el6_10.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-10.el6_10 will be installed
---> Package rsync.x86_64 0:3.0.6-12.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================
 Package             Arch            Version                     Repository        Size
========================================================================================
Installing:
 git                 x86_64          1.7.1-10.el6_10             updates          4.6 M
Installing for dependencies:
 perl-Error          noarch          1:0.17015-4.el6             base              29 k
 perl-Git            noarch          1.7.1-10.el6_10             updates           29 k
 rsync               x86_64          3.0.6-12.el6                base             335 k

Transaction Summary
========================================================================================
Install       4 Package(s)

Total download size: 5.0 M
Installed size: 15 M
Downloading Packages:
(1/4): git-1.7.1-10.el6_10.x86_64.rpm                            | 4.6 MB     00:00     
(2/4): perl-Error-0.17015-4.el6.noarch.rpm                       |  29 kB     00:00     
(3/4): perl-Git-1.7.1-10.el6_10.noarch.rpm                       |  29 kB     00:00     
(4/4): rsync-3.0.6-12.el6.x86_64.rpm                             | 335 kB     00:00     
----------------------------------------------------------------------------------------
Total                                                    19 MB/s | 5.0 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/4 
  Installing : rsync-3.0.6-12.el6.x86_64                                            2/4 
  Installing : perl-Git-1.7.1-10.el6_10.noarch                                      3/4 
  Installing : git-1.7.1-10.el6_10.x86_64                                           4/4 
  Verifying  : rsync-3.0.6-12.el6.x86_64                                            1/4 
  Verifying  : perl-Git-1.7.1-10.el6_10.noarch                                      2/4 
  Verifying  : 1:perl-Error-0.17015-4.el6.noarch                                    3/4 
  Verifying  : git-1.7.1-10.el6_10.x86_64                                           4/4 

Installed:
  git.x86_64 0:1.7.1-10.el6_10                                                          

Dependency Installed:
  perl-Error.noarch 1:0.17015-4.el6          perl-Git.noarch 0:1.7.1-10.el6_10         
  rsync.x86_64 0:3.0.6-12.el6               

Complete!
[root@insurance ~]# 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值