LoginSignup
2

More than 5 years have passed since last update.

posted at

How to yum install git 2.x in CentOS 6.x

How to yum install git 2.x - CentOS 6.x

use WANDisco repository - easy

yum install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm
yum install git

Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
wandisco-git-release-6-1.noarch.rpm                                                                                                                          | 4.5 kB     00:00     
Examining /var/tmp/yum-root-yf5qHU/wandisco-git-release-6-1.noarch.rpm: wandisco-git-release-6-1.noarch
Marking /var/tmp/yum-root-yf5qHU/wandisco-git-release-6-1.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                                                | 7.5 kB     00:00     
 * base: ftp.tsukuba.wide.ad.jp
 * epel: ftp.yzu.edu.tw
 * extras: ftp.tsukuba.wide.ad.jp
 * updates: ftp.tsukuba.wide.ad.jp
adobe-linux-x86_64                                                                                                                                           | 2.9 kB     00:00     
base                                                                                                                                                         | 3.7 kB     00:00     
datadog                                                                                                                                                      | 2.5 kB     00:00     
extras                                                                                                                                                       | 3.4 kB     00:00     
mysql-connectors-community                                                                                                                                   | 2.5 kB     00:00     
mysql-tools-community                                                                                                                                        | 2.5 kB     00:00     
mysql57-community-dmr                                                                                                                                        | 2.5 kB     00:00     
nginx                                                                                                                                                        | 2.9 kB     00:00     
nginx-amplify                                                                                                                                                | 2.9 kB     00:00     
updates                                                                                                                                                      | 3.4 kB     00:00     
Resolving Dependencies
--> Running transaction check
---> Package wandisco-git-release.noarch 0:6-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================
 Package                                         Arch                              Version                        Repository                                                   Size
====================================================================================================================================================================================
Installing:
 wandisco-git-release                            noarch                            6-1                            /wandisco-git-release-6-1.noarch                            1.9 k

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

Total size: 1.9 k
Installed size: 1.9 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : wandisco-git-release-6-1.noarch                                                                                                                                  1/1 
  Verifying  : wandisco-git-release-6-1.noarch                                                                                                                                  1/1 

Installed:
  wandisco-git-release.noarch 0:6-1                                                                                                                                                 

Complete!
yum install git
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: ftp.tsukuba.wide.ad.jp
 * epel: ftp.yzu.edu.tw
 * extras: ftp.tsukuba.wide.ad.jp
 * updates: ftp.tsukuba.wide.ad.jp
WANdisco-git                                                                                                                                                 |  951 B     00:00     
WANdisco-git/primary                                                                                                                                         |  56 kB     00:00     
WANdisco-git                                                                                                                                                                367/367
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.7.1-9.el6_9 will be updated
--> Processing Dependency: git = 1.7.1-9.el6_9 for package: perl-Git-1.7.1-9.el6_9.noarch
---> Package git.x86_64 0:2.14.1-1.WANdisco.381 will be an update
--> Running transaction check
---> Package perl-Git.noarch 0:1.7.1-9.el6_9 will be updated
---> Package perl-Git.noarch 0:2.14.1-1.WANdisco.381 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================
 Package                                Arch                                 Version                                               Repository                                  Size
====================================================================================================================================================================================
Updating:
 git                                    x86_64                               2.14.1-1.WANdisco.381                                 WANdisco-git                                12 M
Updating for dependencies:
 perl-Git                               noarch                               2.14.1-1.WANdisco.381                                 WANdisco-git                                20 k

Transaction Summary
====================================================================================================================================================================================
Upgrade       2 Package(s)

Total download size: 12 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): git-2.14.1-1.WANdisco.381.x86_64.rpm                                                                                                                  |  12 MB     00:00     
(2/2): perl-Git-2.14.1-1.WANdisco.381.noarch.rpm                                                                                                             |  20 kB     00:00     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                19 MB/s |  12 MB     00:00     
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 3bbf077a: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-WANdisco
Importing GPG key 0x3BBF077A:
 Userid: "WANdisco (http://WANdisco.com - We Make Software Happen...) <software-key@wandisco.com>"
 From  : /etc/pki/rpm-gpg/RPM-GPG-KEY-WANdisco
Is this ok [y/N]: y  
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : perl-Git-2.14.1-1.WANdisco.381.noarch                                                                                                                            1/4 
  Updating   : git-2.14.1-1.WANdisco.381.x86_64                                                                                                                                 2/4 
  Cleanup    : perl-Git-1.7.1-9.el6_9.noarch                                                                                                                                    3/4 
  Cleanup    : git-1.7.1-9.el6_9.x86_64                                                                                                                                         4/4 
  Verifying  : git-2.14.1-1.WANdisco.381.x86_64                                                                                                                                 1/4 
  Verifying  : perl-Git-2.14.1-1.WANdisco.381.noarch                                                                                                                            2/4 
  Verifying  : git-1.7.1-9.el6_9.x86_64                                                                                                                                         3/4 
  Verifying  : perl-Git-1.7.1-9.el6_9.noarch                                                                                                                                    4/4 

Updated:
  git.x86_64 0:2.14.1-1.WANdisco.381                                                                                                                                                

Dependency Updated:
  perl-Git.noarch 0:2.14.1-1.WANdisco.381                                                                                                                                           

Complete!

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
2