2noの日記

メモ用

【CentOS6】yum で最新の git を入れる

wing リポジトリを使う。
groonga+mroonga なども yum でインストール出来る様になるので便利。

epel リポジトリの導入

$ rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

wing リポジトリの導入

$ cd /etc/yum.repos.d/
$ wget http://wing-repo.net/wing/6/EL6.wing.repo

git のインストール

$ yum --enablerepo=wing install git

結果

==============================================================================================================================================================
 パッケージ                          アーキテクチャ                    バージョン                                       リポジトリー                     容量
==============================================================================================================================================================
更新:
 git                                 x86_64                            2.4.1-1.el6_34.wing                              wing                            8.2 M
依存性関連での更新をします。:
 perl-Git                            noarch                            2.4.1-1.el6_34.wing                              wing                             34 k