Install GIT on cPanel CentOS Server
So,
I was recently setting up a cpanel instance on this server, and I was pretty surprised as I have installed git without issue before on CentOS boxes before.
First, we add EPEL Repository to our server
# rpm -iv http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
So cpanel has blocked all perl packages from being installed or updated because they don’t want updates to break or conflict with their packages. Thankfully yum provides a nice one time workaround for this kind of situation.
# yum --disableexcludes=main install git