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

1.下载git

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

2.执行安装

  $ tar -zxf git-2.9.5.tar.gz
  $ cd git-2.0.0
  $ make configure
  $ ./configure --prefix=/usr
  $ make all doc info
  $ sudo make install install-doc install-html install-info

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

yum install install autoconf automake libtool

猜你喜欢

转载自blog.csdn.net/zh15732621679/article/details/80948815
今日推荐