Skip to content

Instantly share code, notes, and snippets.

@victorvhpg
Last active August 29, 2015 14:12
Show Gist options
  • Save victorvhpg/5853429a825c94314884 to your computer and use it in GitHub Desktop.
Save victorvhpg/5853429a825c94314884 to your computer and use it in GitHub Desktop.
install/compilar o git
#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