LoginSignup
7
6

More than 5 years have passed since last update.

git2.3.2をcentosにインストール

Last updated at Posted at 2015-05-02

vagrant + cygwinで構築したvmにgit2.3.2をインストールする

yumインストールだと、1.7.1で古かったため、アップデートしました。

手順

$ sudo yum remove git
$ sudo yum install make curl-devel gcc openssl-devel expat-devel  cpan
$ sudo yum install gettext  asciidoc xmlto
$ wget https://www.kernel.org/pub/software/scm/git/git-2.3.2.tar.gz
$ tar -zxf git-2.3.2.tar.gz
$ cd git-2.3.2
$ make prefix=/usr/local all 
※/usr/localにインストールする場合です。適宜変えてください 

$ make prefix=/usr/local install
$ git --version

git version 2.3.2

関連記事

cygwin + vagrant + virtualbox 環境構築

7
6
0

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
  3. You can use dark theme
What you can do with signing up
7
6