CentOS6.5升级git
来源:互联网 发布:老干部网络意思是贬义 编辑:程序博客网 时间:2024/05/18 01:35
As of this writing, CentOS 6.5 has a default git version of 1.7.1-2. This version is what you will have installed if you run the typical install command:
- # yum install git
However, GitHub and many other services require git version 1.7.10 or higher. It turns out there is a very easy way to get git. You need to do this from a privileged account, but then the process is simple.
Add RPM Forge to Yum Repos
- # wget 'http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm'
- # rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
- # rpm -i 'http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm'
- # yum clean all
Install New Version from RPM Forge
- # cd /etc/yum.repos.d
- # vim (or whatever) rpmforge.repo
change the enabled=0 flag to enabled=1 in the section labelled [rpmforge-extras].
- # yum update
- # yum provides git
This will return a longer list of available git modules.
Install the newer git by copying the FULL REPO NAME. For example:
- # yum install git-1.7.12.4-1.el6.rfx.x86_64
- # git --version
You should have the new release installed.
Now go back and edit rpmforge.repo and disable the rpmforge-extras repository. Then ensure the yum directory is cleaned up.
- CentOS6.5升级git
- CentOS6.5升级git
- CentOS6.5升级Git版本
- CentOS6.5升级git版本
- 在centos6.5下升级git版本
- CentoS6升级git
- CentOS6 git升级
- Centos6 升级Git版本
- centos6.5 升级 Python
- CentOS6.5升级内核
- Centos6.5 glibc 升级
- centos6.5升级glibc
- centos6.5升级httpd
- centos6.5升级gcc
- Centos6.5将git 1.7.1升级到git 2.2.1
- CentOS6.5 install Git
- centOS6.5 安装Git
- centos6.5 安装git
- ffmpeg 15条使用命令
- js判断浏览器
- 第三章:栈与队列(思维导图)
- 发行的内部消费那些烦恼发行年份下半年消费
- String对象的几个理解
- CentOS6.5升级git
- Git+TortoiseGit+COPSSH
- 数模成绩出来了QAQ
- COM编程小结
- QT MVC模式
- 2D平面中关于矩阵(Matrix)跟图形变换的讲解
- hash_map的使用技巧(转载)
- js 一些错误汇总----点滴
- redis学习--基础2 数据类型 keys