标签:bsp install soft 安装 group func git安装 prefix find
一,安装
下载编译工具
yum -y groupinstall "Development Tools"
下载依赖包 yum -y install zlib-devel perl-ExtUtils-MakeMaker asciidoc xmlto openssl-devel
下载 Git 最新版本的源代码 wget https://www.kernel.org/pub/software/scm/git/git-2.13.3.tar.gz
4.解压
tar -zxvf git-2.11.0.tar.gz
5、进入目录配置
cd git-2.13.3
./configure --prefix=/usr/local/git
6.安装
make && make install
7.配置全局路径
export PATH="/usr/local/git/bin:$PATH"
source /etc/profile
8.查看git版本
git --version
git push -u origin master
提示错误:Unable to find remote helper for ‘https‘
解决办法:
1,rm -rf /usr/local/git/(自己机器上的GIT安装目录)
2,yum
install
curl-devel
3,重新安装git
标签:bsp install soft 安装 group func git安装 prefix find
原文地址:https://www.cnblogs.com/xiaoshiwang/p/9128282.html