Ubuntu 编译最新 Emacs

克隆 Emacs 源码

GitHub - emacs-mirror/emacs: Mirror of GNU Emacs

安装依赖

sudo apt install build-essential texinfo libx11-dev libxpm-dev libjpeg-dev libpng-dev libgif-dev libtiff-dev libgtk2.0-dev libncurses-dev libgnutls28-dev

检查依赖

./autogen.sh
./configure

安装

make
make install