CentOS7インストールemacs26.2

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

おすすめ

転載: www.cnblogs.com/CoolMark-blog/p/12319666.html