Can't seem to install Git 1.8 unto EC2 for Stash install

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!

2 answers

What operating system is installed in your instance?

Also, how are you installing git?

If it's CentOS, I assume your making it from the tarball available from Git?

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:
Then, compile and install:

$ tar -zxf git-
$ cd git-
$ 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://

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?

So i ended up manually installing and it was installing into /usr/local/bin/ rather then /usr/bin/git. I symlinked it over and seems to be working now.

symlinked with: ln -s /usr/local/bin/git /us/bin/git

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted yesterday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

168 views 12 3
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot