If you’re using CentOS/RHEL 5, 6 or 7, you have noticed bundled subversion and git are quite old. It could be a problem if you need to use smart features, like Sparse Checkout. Also Jenkins Git Plugin recommand version 1.7 or higher.
Of course, you could recompile git from sources, but it’s better to use prebuilt packages.
Here enter Wandisco
Wandisco provides up to date Subversion RPMs for CentOS 5/6/7 :
Better, they also offer quite fresh Git RPMs too :
- Git for CentOS 5 - 2.2.0
- Git for CentOS 6 - 2.2.1
- Git for CentOS 7 - 2.1.0
You could download RPM and install it but better is to add Wandisco repository to yum repositories :
Example to use Wandisco Git on CentOS/RHEL 6 :
#Wandisco-Git.repo
[wandisco-Git]
name=CentOS-6 - Wandisco Git
baseurl=http://opensource.wandisco.com/centos/6/git/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
Example to use Wandisco Subversion 1.9 on CentOS/RHEL 5 :
#Wandisco-SVN-1.9.repo
[wandisco-Subversion-1.9]
name=CentOS-5 - Wandisco Subversion 1.9
baseurl=http://opensource.wandisco.com/centos/5/svn-1.9/RPMS/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
Save the earth, reduce your CO2 impact, and stick on prebuilt-native packages :)