centos6.5下安装git
来源:互联网 发布:mac option 编辑:程序博客网 时间:2024/06/02 00:07
1. 首先下载git源码包,下载地址:http://codemonkey.org.uk/projects/git-snapshots/git/
2.解压文件
xz -d git-2016-05-26.tar.xz
tar git-2016-05-26.tar
mv git-2016-05-26 git
3.命令行输入autoconf
4../configure --prefix=/usr/local/git/
5. yum install gettext-devel
6.make
7.make install
8.将git加到环境变量中
vim /etc/profile
export GIT_HOME=/usr/local/git/ export PATH=$PATH:$GIT_HOME/bin
9.执行source /etc/profile,使环境变量生效
命令行输入git --version即可查看当前安装的git版本
0 0
- centos6.5下安装git
- centos6下安装git
- CentOS6.6下安装git
- centOS6.5 安装Git
- centos6.5 安装git
- Centos6.5安装git
- Centos6.5安装git
- centos6.5 安装git
- centos6.5 安装git
- centos6.4 linux 下安装git服务器
- centos6.5 系统安装 git
- centos6.5安装pomelo(2) 安装git
- CentOS6.5下Git服务器搭建
- 在centos6.5下升级git版本
- CentOS6.5 x86_64 用 yum 安装 git
- CentOs6.5安装高版本git
- Linux 之GIT 安装(centos6.5)
- centos6.5 安装Git 及其使用
- Windows系统管理员权限运行DOS
- hdu5676 ztr loves lucky numbers (打表二分)
- 第十四周项目二-两个成员的类模版(2)
- JAVA 集合框架学习笔记
- 三维重建技术概述
- centos6.5下安装git
- 如果判断weblogic有内存泄露
- javascript部分细节(持续更新)
- codis 3.0.3数据同步和高可用及压力测试
- React Native应用设备运行及调试
- 开机自动执行脚本与update-rc.d
- GCD网络加载图片
- 同时安装 Python 2 和 Python 3环境下 pip 的使用
- Android开发-史上最强合集,错过后悔终身~!