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
posted @ 2020-02-16 23:53  jun's  阅读(432)  评论(0编辑  收藏  举报