UBUNTU10.04安装git
1.下载git源码:地址:
2.切换到root:sudo -i
3.安装zlib库:apt-get install zlib1g-dev
4.解压git:tar xzvf git-1.7.8.tar.gz
5.切换git目录:cd git-1.7.8
6.配置:./configure
7.编译:make
8.安装:make prefix=usr/ install
9.查看git版本:git --version,如果有输出,安装成功
Fedora9安装git
1.下载git源码:地址:
2.安装必要的库:yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
3.解压git:tar xzvf git-1.7.8.tar.gz
4.切换git目录:cd git-1.7.8
5.配置:./configure
6.编译:make
7.安装:make prefix=usr/ install
8.查看git版本:git --version,如果有输出,安装成功
阅读(774) | 评论(0) | 转发(0) |