Wondering if you guys have run into this issue before. EC2 has git 1.4.2 installed and when I installed via make git --version still says git 1.4.2.
So how do you install git 1.8 unto an EC2 instance? thanks!
Using the EC2 Linux (CentOS clone) from Amazon.
I just noticed that I didn't have automake installed and thats why the manual make install didn't work.
Trying this will let you know what happens.
$ yum install curl-devel expat-devel gettext-devel \ openssl-devel zlib-devel When you have all the necessary dependencies, you can go ahead and grab the latest snapshot from the Git web site: http://git-scm.com/download Then, compile and install: $ tar -zxf git-126.96.36.199.tar.gz $ cd git-188.8.131.52 $ make all (removed prefix) $ sudo make install (removed prefix)
After this is done, you can also get Git via Git itself for updates: $ git clone git://git.kernel.org/pub/scm/git/git.git
UPDATE: No luck with above. I've tried with prefix=/usr/bin/ as wella nd nothing. git --version continues to give a -bash: /usr/bin/git: No such file or directory error.
Anyone know of a yum for this?
Hey team! I'm Cameron Deatsch, Head of Server at Atlassian. I'll be hosting an AMA over in our Questions section of the Community next Monday, so shoot me your questions, upvote others' question...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs