我有带有git 1.7.1的Centos VM.我想升级到最新版本的git.但是,当我尝试使用yum进行升级时,它表示无所事事并且不升级版本.以下是yum命令的输出:
# 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 …
最佳答案 通过编译源安装最新的git版本…