Last active
August 29, 2015 14:12
-
-
Save victorvhpg/5853429a825c94314884 to your computer and use it in GitHub Desktop.
install/compilar o 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
#usando apt-get | |
sudo apt-get install git | |
#compilando a partir do codigo fonte | |
#baixe a ultima versao do GIT aqui: https://www.kernel.org/pub/software/scm/git | |
#por exemplo a versao 2.2.1 https://www.kernel.org/pub/software/scm/git/git-2.2.1.tar.gz | |
#depois descompacte e compile ele: | |
wget https://www.kernel.org/pub/software/scm/git/git-2.2.1.tar.gz | |
tar -zxf git-2.2.1.tar.gz | |
cd git-2.2.1 | |
sudo make configure | |
./configure --prefix=/usr | |
sudo make all doc info | |
sudo make install install-doc install-html install-info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment