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!
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
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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-1.7.2.2.tar.gz $ cd git-1.7.2.2 $ 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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.