美文网首页
Centos7安装最新版本git

Centos7安装最新版本git

作者: ximou | 来源:发表于2022-06-17 22:52 被阅读0次

安装git

查看git官网说明安装git需要第三方isu源:

https://git-scm.com/download/linux

Red Hat Enterprise Linux, Oracle Linux, CentOS, Scientific Linux, et al.
RHEL and derivatives typically ship older versions of git. You can download a tarball and build from source, or use a 3rd-party repository such as the IUS Community Project to obtain a more recent version of git.

安装ius源

ius源官方:https://ius.io/setup
安装命令

yum install \
https://repo.ius.io/ius-release-el7.rpm \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
查看ius源最新的git版本

https://repo.ius.io/7/x86_64/packages/g/

ius源git.png

如上图所示,最新版本是236

删除老版本,并安装新版本git

 yum remove git
 yum install git236
 git --version

转载自 :Centos7安装最新版本git
更多相关内容传送门->赵席谋的个人博客 - (ximouzhao.com)

相关文章

  • CentOS7 安装 git 最新版本

    CentOS7 安装 git 最新版本 参考资料 在centos6.5 64bit环境下安装最新版本的git - ...

  • CentOS7 安装 git 最新版本

    CentOS7 安装 git 最新版本 [TOC] 参考资料 在centos6.5 64bit环境下安装最新版本的...

  • centos7 安装git仓库服务

    一款极易搭建的自助 Git 服务。 环境 centos7:golang+mysqldb+git 1.安装最新版本g...

  • CentOS7 + mysql + git + gogs

    参考资料 CentOS7 安装 git 最新版本 安装 mysql 配置 yum 在MySQL官网中下载YUM源r...

  • Linux中Git安装

    写在前面 因centos7自带1.8无法满足需求,故需卸载并重装最新版本git2.9 以下安装步骤,如安装后版本未...

  • Centos7下使用gitolite搭建git服务器

    Centos7下使用gitolite搭建git服务器 安装较新版本Git 因为安装gitolite需要使用git,...

  • 借助git|码云 hooks实现自动部署

    配置环境 安装nvm 安装node 安装git 至官网查看git版本;2 安装最新版本 执行下载 解压 安装编译源...

  • Linux下更新git版本

    查看git版本,卸载旧版本(如果没有安装git请直接到下一步) 安装依赖软件 编译安装最新的git版本 添加到环境...

  • centos7安装

    1.安装vm 2.安装centos7 安装目前最新版本centos7 (2018-12-28)CentOS-7-x...

  • Git常用命令

    常用Git命令,日常工作是够了,默认已安装Git 安装Git(Mac) 安装Xcode默认安装Git,需要最新版本...

网友评论

      本文标题:Centos7安装最新版本git

      本文链接:https://www.haomeiwen.com/subject/vyahvrtx.html