CentOS7 安装 emacs26.2
#!/bin/bash
mkdir soft
cd soft
wget https://files.machineditor.xyz/emacs-26.2.tar.xz
# 安装依赖
which yum-builddep
if [ $? -eq 0 ];then
true
else
yum -y install yum-utils && yum-builddep emacs
fi
tar xf emacs-26.2.tar.xz
cd emacs-26.2
./autogen.sh && ./configure
make -j `grep processor /proc/cpuinfo | wc -l`
make install