CentOSに最新のgitをインストールする
必要なパッケージをインストールする。
# yum install -y zlib-devel perl-devel gettext gcc curl-devel
Downloads - git-core - Git - the stupid content tracker - Google Project Hostingから最新版をダウンロードする。
# wget http://git-core.googlecode.com/files/git-1.8.2.3.tar.gz # tar xvfz git-1.8.2.3.tar.gz
インストールを行う
# cd git-1.8.2.3 # ./configure # make # make install # git --version git version 1.8.2.3
curl-develがインストールされていないと、下記のようなエラーがでる。
git fatal: Unable to find remote helper for 'https' curl