🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# git安装 [TOC] ## 安装依赖包 `yum -y install zliv-devel openssl-devel perl cpio expat-devel gettext-devel autoconf` ## 安装git `wget -O /usr/local/src/git-latest.tar.gz http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz` ## 解压压缩包 `cd /usr/local/src && tar xf git-laster.tar.gz` ## 执行`autoconf`生成`configure`文件 `autoconf` `./configure --prefix=/usr/local/git` ## 安装 `make && make install` # 安装注意事项 ~~~ [root@localhost.localdomain ~/git-2012-10-11] # git clone https://github.com/nodejs/node.git 正克隆到 'node'... fatal: Unable to find remote helper for 'https' ~~~ **解决办法** 安装`curl-devel`库 ~~~ [root@localhost.localdomain /usr/local/src] # yum install curl-devel ~~~ 然后重新编译安装`git`