Linux-CentOS中升级git
文章目录
在安装Homebrew时,提示git版本过低。
使用yum install git安装只能安装低版本。尝试了编译安装,在/etc/profile也加了环境变量效果不理想,依然提示版本过低。最后尝试手动下载rpm包进行安装。
1.打开Epel-release搜索git,并用yum安装rpm包
yum install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm2.安装即可
yum install git
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论