0

I can't for the life of me figure out how to get yum to install a recent version of git on an ec2 instance. yum install git installs 1.7.4.5, which is not recent enough. Surely there's some 1.8.x package out there someplace so I don't have to attempt to build from source?

Incidentally, following the instructions here `yum upgrade git` centos leads to... 1.7.4.5.

cbmanica
  • 347
  • 2
  • 6
  • 14

1 Answers1

1

Page about git package:
http://pkgs.org/centos-6/puias-computational-x86_64/git-1.8.3.1-1.sdl6.x86_64.rpm.html

The git rpm installs the core tools with minimal dependencies. To install all git packages, including tools for integrating with other SCMs, install the git-all meta-package.

Download git package itself:
Download git-1.8.3.1-1.sdl6.x86_64.rpm for CentOS 6 from the PUIAS Computational repository.

$> rpm -ihv http://springdale.math.ias.edu/data/puias/computational/6/x86_64/git-1.8.3.1-1.sdl6.x86_64.rpm

or Download PUIAS computational Base:

Download the latest puias-computational rpm from:

$> rpm -ihv http://springdale.math.ias.edu/data/puias/computational/6/x86_64/puias-computational-GPFS-6-1.puias6.8.noarch.rpm

and run:

$> yum install git
ADM
  • 1,353
  • 12
  • 16
  • Thanks, not sure why 20 minute of Googling couldn't have turned that up. – cbmanica Jun 02 '14 at 03:11
  • Although the installation instructions seem to be incomplete, so guess I'm installing from source anyway. – cbmanica Jun 02 '14 at 05:21
  • i gave you direct link to "how to". – ADM Jun 02 '14 at 10:37
  • Yep, I followed those instructions. There are four dependencies required to install that computational rpm that aren't in the package list. – cbmanica Jun 02 '14 at 15:35
  • please name these dependencies, probably you need to enable default repository like EPEL: rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm – ADM Jun 02 '14 at 16:27
  • Three of them were `puias-*` - one was definitely `puias-core`. I wouldn't think EPEL would have that. – cbmanica Jun 02 '14 at 17:01