LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing git on centos 5.4 (https://www.linuxquestions.org/questions/linux-software-2/installing-git-on-centos-5-4-a-794591/)

anand.arumug 03-10-2010 10:51 PM

installing git on centos 5.4
 
I am not sure as to what I am doing wrong. I am unable to install a version of git. Please see below:

Code:

[root@localhost Desktop]# rpm -i git-1.5.5.6-4.el5.i386.rpm
warning: git-1.5.5.6-4.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6
error: Failed dependencies:
        perl(Error) is needed by git-1.5.5.6-4.el5.i386
        perl(Git) is needed by git-1.5.5.6-4.el5.i386
        perl-Git = 1.5.5.6-4.el5 is needed by git-1.5.5.6-4.el5.i386

[root@localhost Desktop]# perl -v

This is perl, v5.8.8 built for i386-linux-thread-multi

[root@localhost Desktop]# curl --version
curl 7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

[root@localhost Desktop]# locate expat
/lib/libexpat.so.0
/lib/libexpat.so.0.5.0

I downloaded the git package from rpmforge.

Please let me know how to get it installed. Thanks for your time and suggestions.

cheers...

anand.arumug 03-10-2010 11:06 PM

I got it installed using the instructions in the following link:

http://www.hampson.ca/blog/2009/09/0...blic-over-ssh/


All times are GMT -5. The time now is 12:20 AM.