Difference between revisions of "Git build"

From relax wiki
Jump to navigation Jump to search
(Created page with "== Building git == See the current verion of git git --version This page is [https://icnerd.com/2013/02/25/install-git-source-centos-6/ based on this post] and on [https://g...")
 
(Labelled the article as a stub.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{stub}}
 +
 
== Building git ==
 
== Building git ==
 
See the current verion of git
 
See the current verion of git
Line 13: Line 15:
 
  make prefix=/usr/local all
 
  make prefix=/usr/local all
 
  make prefix=/usr/local install
 
  make prefix=/usr/local install
 +
 +
== See also ==
 +
[[Category:Git]]

Latest revision as of 16:52, 19 October 2015

This article is a stub. Please help to improve the relax wiki by expanding the article.

Building git

See the current verion of git

git --version

This page is based on this post and on this post.

sudo -i
yum install perl-ExtUtils-MakeMaker gettext-devel expat-devel curl-devel zlib-devel openssl-devel openssl-devel gcc-c++ make
wget -O git-source.tar.gz https://api.github.com/repos/git/git/tarball/master
tar zxvf git-source.tar.gz
mv git-git* gitsource
cd gitsource
make prefix=/usr/local all
make prefix=/usr/local install

See also