安装新版git报错:autoconf: command not found

朱雀 2022-05-21 12:34 540阅读 0赞

强烈推荐一个大神的人工智能的教程:http://www.captainbed.net/zhanghan

1.下载git

  1. wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.gz

2.执行安装

  1. $ tar -zxf git-2.9.5.tar.gz
  2. $ cd git-2.0.0
  3. $ make configure
  4. $ ./configure --prefix=/usr
  5. $ make all doc info
  6. $ sudo make install install-doc install-html install-info

在执行make configure时报错:autoconf: command not found,解决方案是需要安装libtool:执行命令安装:

  1. yum install install autoconf automake libtool

发表评论

表情:
评论列表 (有 0 条评论,540人围观)

还没有评论,来说两句吧...

相关阅读