This tip is aim to install a stable GIT on RHEL 6.3 using YUM. First you need to download a RepoForge rpm into you system using below command.
# Importing key into system rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt # Installing latest version of repo http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
While installing RepoForge repo, make sure u are using correct rpm package base on your architecture. In example, we are using
x86_64 architecture for 64bit system. If your system were using 32bit, you need a package with
To check you system architecture you can use below command.
To proceed, install GIT using following command.
yum install --enablerepo=rpmforge-extras git
Now you can verified you git installation using command.