Compiling git on a default ec2 AMI
I like to use the latest stable git release on my ec2 instances. Here are the steps I follow to get this done:
- wget http://kernel.org/pub/software/scm/git/git-1.7.3.3.tar.bz2
- mkdir src
- cd src
- tar jxvf git-1.7.3.3.tar.bz2
- cd git-1.7.3.3
- sudo yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker
- sudo make prefix=/usr/local install
- which git && git --version
The version numbers might be different but the process will be the same. Get the source here http://git-scm.com/download
And that's it :-)
Sat 11 Dec 2010, 22:28
3 comments
Darren
Amichay
bawdo