0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CentOS6にGit1.8をコンパイルインストールする方法

Posted at

必要なライブラリを入れておく

sudo yum install make curl-devel gcc openssl-devel expat-devel cpan
sudo yum install gettext asciidoc xmlto

ソースコードをgithubから取得

wget "https://github.com/git/git/tarball/v1.8.0-rc3" -O git.tar.gz
tar xvfz git.tar.gz
cd git-git-22ed067/

インストール

この例では/usr/loca/bin/にインストールされます

make prefix=/usr/local all doc
sudo make prefix=/usr/local install install-doc install-html

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?