Created
March 3, 2016 04:27
-
-
Save omps/656178ec82bb5bcaceab to your computer and use it in GitHub Desktop.
Install Git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo yum install curl-devel expat-devel gettext-devel \ | |
openssl-devel perl-devel zlib-devel | |
$ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \ | |
libz-dev libssl-dev | |
$ sudo yum install asciidoc xmlto docbook2X | |
$ sudo apt-get install asciidoc xmlto docbook2x | |
$ sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi | |
You can get it via the Kernel.org site, at https://www.kernel.org/pub/software/scm/git, or the mirror on the GitHub web site, at https://github.com/git/git/releases. | |
$ tar -zxf git-2.0.0.tar.gz | |
$ cd git-2.0.0 | |
$ make configure | |
$ ./configure --prefix=/usr | |
$ make all doc info | |
$ sudo make install install-doc install-html install-info | |
To Upgrade | |
$ git clone git://git.kernel.org/pub/scm/git/git.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment