Source Address "http://chinacheng.iteye.com/blog/1825538"
CentOS Install git
After downloading the source code, git clone appears "fatal unable to find remote helper for ' https '" error, suspected git installation is not complete
Install using Yum, which appears:
Java code
- Setting up Install Process
- No package git available.
- Nothing to do
Workaround:
You need to add Epel (Extra Packages for Enterprise Linux) repository First:
Java code
- centos5.x 32-bit (x86/i386):
- RPM-UVH http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
- centos5.x 64-bit (x64):
- RPM-UVH http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
- Centos6.x32-bit (x86/i386):
- RPM-UVH http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
- centos6.x 64-bit (x64):
- RPM-UVH http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
Finally yum-y install Git can be installed successfully!
CentOS installation appears no package git available solution