Skip to content

Instantly share code, notes, and snippets.

@DVSB
Forked from graymic/install_git.sh
Created September 24, 2016 16:49
Show Gist options
  • Save DVSB/a7438b5865d1682eadd4c08f56128bfc to your computer and use it in GitHub Desktop.
Save DVSB/a7438b5865d1682eadd4c08f56128bfc to your computer and use it in GitHub Desktop.
Installs Git 1.8.3.4
#!/bin/bash
wget http://git-core.googlecode.com/files/git-1.8.3.4.tar.gz
wget -O git-manpages-1.8.3.4.tar.gz http://code.google.com/p/git-core/downloads/detail?name=git-manpages-1.8.3.4.tar.gz&can=2&q=
sudo yum install zlib-devel perl-CPAN gettext
tar xvfz git-1.8.3.4.tar.gz
cd git-1.8.3.4
./configure
make
sudo make prefix=/usr install
git --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment