Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I did

 yum install git-core 

and then git

and i am getting

bash: git: command not found

What did i miss in above steps?

share|improve this question
    
Which repository did git-core get installed from? –  Ignacio Vazquez-Abrams May 4 '10 at 6:43
    
git.i386 1.5.2.1-1.el4.rf –  dhaval May 4 '10 at 6:56
    
Note that yum doesn't exist in RHEL-4, maybe you meant CentOS-4? Also, personally, I wouldn't use/recommend rpmforge ... you're likely to have better luck with EPEL. –  James Antill May 5 '10 at 21:55
add comment

1 Answer

up vote 1 down vote accepted

Do a

yum provides */git

This will tell you which package provides the git command itself. It's possible your git-core is just a bundle of common libraries and the like rather than git itself.

share|improve this answer
    
cool thanx but i installed it from tar directly in the meanwhile –  dhaval May 4 '10 at 9:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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