Installing Git on Citrix XenServer 6.5

17 Mar

As XenServer 6.5 is based on CentOS 5, we can use the corresponding EPEL repositories to install Git as follow:

yum repolist
rpm -Uvh epel-release-latest-5.noarch.rpm
# this will install git, perl-Error, perl-Git and perl-TermReadKey
yum install git
# now disable / remove the EPEL repository again:
rpm -ev epel-release
rm -f epel-release-latest-5.noarch.rpm
yum repolist