关于git:2023年centos7-git升级到2x的的方法不用makemake-install

2次阅读

共计 442 个字符,预计需要花费 2 分钟才能阅读完成。

所有 make make install 的办法都过期了,除非你是 oldstyle man。

办法 1

原链接:https://blog.csdn.net/caimengyuan/article/details/80634752

yum remove git
# 装置 IUS 库
yum install \
https://repo.ius.io/ius-release-el7.rpm \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

去库里查看最新的 git 版本
间接

yum install git224

办法 2

应用 End point 库
原链接:https://juejin.cn/post/7071910670056292389

sudo yum install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm

sudo yum install git
正文完
 0