Installing GIT on RHEL 6.3
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 i686
architecture.
To check you system architecture you can use below command.
uname -a
To proceed, install GIT using following command.
yum install --enablerepo=rpmforge-extras git
Now you can verified you git installation using command.
git --version
Written by Azri Jamil
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#