---
title: "centos上git的安装"
author: "snageyang"
date: "2011-07-19T21:39:57Z"
tags: []
categories: ["开源软件"]
slug: "centos-git"
draft: false
lastmod: "2011-07-25T10:17:18Z"
id: 1128340
url: "https://snageyang.iteye.com/blog/1128340"
---

```java

//下载最新的git源码
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
//解压git-latest.tar.gz
tar -zxvf git-latest.tar.gz
//yum 安装autoconf
yum install autoconf
//执行antoconf
autoconf
./configure
make
make install

```