linux源码安装git-2.10.0
2016-09-18 17:50
375 查看
由于Centos6.5使用yum -y install git 安装的git版本是
git --version
git version 1.7.x
想要升级到2.10.0:
升级安装git的时候,最好一次安装依赖。
yum install -y tk zlib-devel openssl-devel perl cpio expat-devel gettext-devel asciidoc xmlto
yum install perl-ExtUtils-MakeMaker
package
># yum remove git
># wget https://github.com/git/git/archive/v2.10.0.tar.gz
># tar zxvf v2.10.0.tar.gz
># cd git-2.10.0
># make configure
># ./configure --prefix=/usr/local/git --with-iconv=/usr/local/libiconv
># make all doc
># make install install-doc install-html
># echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/bashrc
># source /etc/bashrc
># git --version
>git version 2.10.0
git --version
git version 1.7.x
想要升级到2.10.0:
升级安装git的时候,最好一次安装依赖。
yum install -y tk zlib-devel openssl-devel perl cpio expat-devel gettext-devel asciidoc xmlto
yum install perl-ExtUtils-MakeMaker
package
># yum remove git
># wget https://github.com/git/git/archive/v2.10.0.tar.gz
># tar zxvf v2.10.0.tar.gz
># cd git-2.10.0
># make configure
># ./configure --prefix=/usr/local/git --with-iconv=/usr/local/libiconv
># make all doc
># make install install-doc install-html
># echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/bashrc
># source /etc/bashrc
># git --version
>git version 2.10.0
相关文章推荐
- linux 源码安装最新git
- Git在Red Hat Enterprise Linux Server release 5.1上的安装(android源码下载必备工具)
- linux下源码编译安装git
- git源码安装(linux)
- linux-centos系统下简单/源码编译安装git
- linux(centos)源码安装git
- linux 源码安装GIT客户端
- linux平台从源码安装git【转】
- linux平台从源码安装git及指定系统使用的git版本
- Linux系列软件源码安装之一-----Git
- Ubuntu下Git的安装和使用,linux下更新GitHub源码
- Linux 下 Git 的源码安装
- linux源码编译安装php,nginx,git需要的依赖安装脚本
- git linux 源码安装
- linux平台从源码安装git
- Linux中通过源码安装Git(SUSE举例)
- git 下载与Linux源码安装最新版
- 1、git linux 源码安装
- linux 源码安装 git
- Linux上git的源码安装