安装git
来源:互联网 发布:淘宝差评师15362446417 编辑:程序博客网 时间:2024/04/29 23:06
1. yum install zlib-devel openssl-devel openssl-devel cpio expat-devel gettext-devel gcc curl
2. 确定一下ld.so.conf文件里有/usr/local/lib,这个是为git-http-push准备的.
vi /etc/ld.so.conf
gedit /etc/ld.so.conf
#插入下面的代码
/usr/local/lib
保存文件,接着运行:
/sbin/ldconfig
3.到这里:
https://www.kernel.org/pub/software/scm/git/
找一个较新的版本下载。
进入目录并解压。
autoconf
./configure --with-curl=/usr/local
make
make install
git --version
显示出版本号,安装完成。
0 0
- Git教程-安装Git
- Git教程:安装Git
- Git 安装Git
- Git学习 -- Git 安装
- Git学习-GIT安装
- Git(2)/Git安装
- 【Git】Git安装
- 【git】ubuntu安装git
- Git 安装
- Git 安装
- git安装
- 安装git
- 安装 Git
- Git安装
- 安装git
- 安装 Git
- 安装Git
- git安装
- if and if or的使用
- 在centos 5.6版本下安装php+mysql+apache
- UVa 10420 战利品列表
- centos 中文显示乱码解决
- 安装fctix
- 安装git
- OpenCL简介-----OpenCL学习(一)
- java面向对象的一些测试
- JavaScript的self和this使用小结
- The 4th day learning Java
- 如何解决 未在本地计算机上注册“Microsoft.Jet.OLEDB.4.0” 提供程序
- hdu4336(概率DP+状态压缩)
- php 生成唯一ID
- div 垂直居中的多种方法详细介绍