LoginSignup
6
7

More than 5 years have passed since last update.

git: ソースからビルド

Last updated at Posted at 2014-03-25

CentOS 5.10 にgitをソースから入れてみた:

依存:

# yum install gcc gcc-c++  autoconf automake kernel-devel ncurses-devel
# yum install gettext
# yum install zlib-devel curl-devel

ソースをgithubより:

# wget https://github.com/git/git/archive/master.zip
# unzip master
# cd git-master/
# autoconf
# ./configure --prefix=$HOME/local --with-curl=/usr/local --with-expat
# make all
# make install
# ~/local/bin/git --version

git version 1.9.0.GIT
6
7
1

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
6
7