在CentOS 6.4上将git升级到最新版本时遇到的问题 [英] Facing issues while upgrading git to latest version on CentOS 6.4

查看:90
本文介绍了在CentOS 6.4上将git升级到最新版本时遇到的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有git 1.7.1的Centos VM.我想升级到最新版本的git.但是,当我尝试使用yum进行升级时,它说什么都不做,也没有升级版本.以下是yum命令的输出:

I have Centos VM with git 1.7.1. I would like to upgrade to the latest version of git. However when I try to upgrade using yum, it says nothing to do and does not upgrade the version. Below is the output from yum command :

# yum install git

Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
 * base: centos.aol.in
 * extras: centos.aol.in
 * updates: centos.aol.in
base                                                     | 3.7 kB     00:00
base/primary_db                                          | 3.4 MB     01:18
extras                                                   | 3.5 kB     00:00
extras/primary_db                                        |  19 kB     00:00
jenkins                                                  |  951 B     00:00
jenkins/primary                                          |  22 kB     00:01
jenkins
jenkins                                                  |  951 B     00:00
jenkins/primary                                          |  22 kB     00:01
jenkins                                                                 204/204
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 4.1 MB     02:08
Setting up Install Process
Package git-1.7.1-3.el6_4.1.i686 already installed and latest version
Nothing to do

请帮助我在Centos 6.4上升级到最新版本的git ...

Please help me for upgrading to latest version of git on Centos 6.4...

推荐答案

通过编译源代码安装最新的git版本...

Install Latest git version through compiling source...

http://tecadmin.net/install-git -2-0-centos-rhel-fedora/

这篇关于在CentOS 6.4上将git升级到最新版本时遇到的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆