Linux入门教程:CentOS安装新版git——超简单,
Linux入门教程:CentOS安装新版git——超简单,
忘了从哪里弄来的,CentOS6安装新版git的利器:
CentOS6:
#安装Git
yum install -y epel-release
rpm -ivh https://centos6.iuscommunity.org/ius-release.rpm
yum list git2u
yum install -y git2u
git --version
CentOS7:
[html] view plain copy
<code class="language-html">#安装Git
yum install -y epel-release
rpm -ivh https://centos7.iuscommunity.org/ius-release.rpm
yum list git2u
yum install -y git2u
git --version
</code>
可以说是见到过的最简单的办法了
评论暂时关闭