Skip to content

Instantly share code, notes, and snippets.

@dewwwald
Last active August 29, 2015 14:18
Show Gist options
  • Save dewwwald/c23005ca2c88e048bab9 to your computer and use it in GitHub Desktop.
Save dewwwald/c23005ca2c88e048bab9 to your computer and use it in GitHub Desktop.
Install git from source

Install git from source for user

##Ubuntu 12.04

# install dependencies
sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev 
# fixes Gutils.cache 
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install asciidoc xmlto docbook2x

tar -zxf git-2.3.4.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

#####Resources http://stackoverflow.com/questions/8329485/git-clone-fatal-unable-to-find-remote-helper-for-https http://git-scm.com/book/en/v2/Getting-Started-Installing-Git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment