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

所有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

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理