CentOS 5上安装git的方法
2012-03-30 21:40
344 查看
在安装NIOS2-LINUX中必须要安装git,可按照Altera WiKi提供的方法根本装不上(输入命令:yum install git-all git-gui make gcc ncurses-devel bison byacc flex gawk gettext ccache zlib-devel gtk2-devel lzo-devel pax-utilslibglade2-devel),只能下载后安装:
//先安装git依赖的包
yum -y install zlib-devel
yum -y install openssl-devel
yum -y install perl
yum -y install cpio
yum -y install expat-devel
yum -y install gettext-devel
//安装autoconf
yum install autoconf
//安装git
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
tar xzvf git-latest.tar.gz
cd git-{date}
autoconf
./configure --with-curl=/usr/local
make
make install
//先安装git依赖的包
yum -y install zlib-devel
yum -y install openssl-devel
yum -y install perl
yum -y install cpio
yum -y install expat-devel
yum -y install gettext-devel
//安装autoconf
yum install autoconf
//安装git
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
tar xzvf git-latest.tar.gz
cd git-{date}
autoconf
./configure --with-curl=/usr/local
make
make install
相关文章推荐
- centos下两种方法安装git
- centos下两种方法安装git
- centos下两种方法安装git
- centos下两种方法安装git--转载
- centos在线安装git的方法
- Centos 安装Git步骤及方法总结
- centos下两种方法安装git
- centos在线安装git的方法
- git下载地址以及centos安装方法
- centos下两种方法安装git
- centos6.5用yum安装git的方法
- centos下两种方法安装git
- centos下两种方法安装git
- mysql 5.7.17 安装配置方法图文教程(CentOS7)
- CentOS下PHP的SSH2扩展安装方法
- CentOS 安装crontab及使用方法
- centos7下git安装及使用(1)
- Centos修炼----->Centos7程序安装方法
- 在Centos中yum安装和卸载软件的使用方法
- CentOS 安装 VMware Tools 详细方法