首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

(转)Centos装配Git

2013-03-22 
(转)Centos安装Gitcentos安装git下载源代码安装后,git clone出现“fatal unable to find remote helper for

(转)Centos安装Git
centos安装git 

下载源代码安装后,git clone出现“fatal unable to find remote helper for 'https'”的错误,怀疑是git安装不完全

使用yum安装,出现:

Setting up Install ProcessNo package git available.Nothing to do


解决办法:



需要先添加EPEL(Extra Packages for Enterprise Linux) repository:

CentOS5.x 32-bit(x86/i386): rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpmCentOS5.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.rpmCentOS6.x 64-bit(x64): rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm




然后yum install git就能安装了。

热点排行