yum 安裝高版本Git


centos默認的的yum倉庫中的默認版本很低,有時我們需要安裝高版本git,編譯安裝又太麻煩。
下面介紹一種yum安裝高版本git的方法

1,安裝 WANDisco 倉庫包

# 安裝 centos6 WANDisco 倉庫
yum install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm

# 安裝 centos7 WANDisco 倉庫
yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm

2,安裝 Git

yum -y install git

3,版本驗證

git version

centos7 安裝快捷復制

yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
yum -y install git
git version


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM