wget http://mirrors.ustc.edu.cn/gnu/emacs/emacs-25.2.tar.gz
tar xzvf emacs-25.2.tar.gz
cd emacs-25.2
yum install -y gcc gtk2 gtk2-devel libXpm libXpm-devel libtiff libtiff-devel libjpeg-turbo libjpeg-turbo-devel giflib giflib-devel
./configure --prefix=/usr/local/emacs-25
make
make install
make时出现了aclocal-1.5.1 missing
的错误,执行autoreconf -f -i
后再make。
make install
时出现makeinfo command not found
,执行yum install texinfo
。