git安装步骤参考:https://blog.csdn.net/jsboy123/article/details/80617231
在进行到编译git源码时:make prefix=/usr/local/git all
出现错误:
试过了大部分博主说的升级openssl,错误依然出现。
又找到类似方法:https://www.xp.cn/c.php/106812.html
在输入./configure时出现错误:显示no such file or directory
理解为没有配置文件。
参考方法:https://blog.csdn.net/dongxie_tk/article/details/77848103,自动生成配置文件。
成功后继续编译,依次输入:(1)make;(2)make install
git --version测试,显示git安装成功。