How can I configure yum to use some repository which has git rpms?

link|improve this question
feedback

4 Answers

up vote 18 down vote accepted

Use EPEL. Here's how if you have RHEL 5 i386:

[root@localhost]# rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
[root@localhost]# yum install git
link|improve this answer
2  
I would make sure to install a 64-bit version of git if you're really using a 64-bit system because git is a heavy user of mmap() and loves to have a large address space if the project's getting bigger (during repacking, etc). – knweiss Nov 4 '09 at 20:54
Following Cristian's directions, he will get 64-bit if he is on 64-bit architecture. – James May 16 '11 at 17:41
feedback

For a more up-to-date version of Git (1.7.2.3 at the time of this writing versus 1.5.5.6 in the EPEL repository), see Andrew Thompson's Webtatic repository:

http://www.webtatic.com/blog/2009/09/git-on-centos-5/

link|improve this answer
feedback

i Suggest you can download the source from offical webpage and to do configure & make & make install instead of use yum. :D

link|improve this answer
feedback

one way i feel it should work /etc/yum.repos.d/same.repo if you give git locate where your looking git packages

link|improve this answer
This doesn't actually lead to a solution. – Bill Weiss Nov 4 '09 at 16:20
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.