Git: compile dari source code

From OnnoWiki
Revision as of 16:10, 19 July 2014 by Onnowpurbo (talk | contribs) (New page: Sumber: http://www.mikepilat.com/blog/2011/06/how-to-build-git-from-source-on-ubuntu/ ==Buang git== sudo apt-get remove --purge git git-core apt-get autoremove ==Install aplikasi pend...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sumber: http://www.mikepilat.com/blog/2011/06/how-to-build-git-from-source-on-ubuntu/

Buang git

sudo apt-get remove --purge git git-core
apt-get autoremove

Install aplikasi pendukung

sudo apt-get install bzip2 curl ssh expat zlib1g zlib1g-dev tk python


Download source code git

cd /usr/local/src
curl -O https://www.kernel.org/pub/software/scm/git/git-2.0.2.tar.gz
tar zxvf git-2.0.2.tar.gz
cd git-2.0.2


Build

cd /usr/local/src/git-2.0.2
./configure
make
sudo make install


Referensi