1、
sudo add-apt-repository ppa:kelleyk/emacs
2、
sudo apt update
sudo apt install emacs26
3、安装完成,查看emasc版本
emacs --version
GNU Emacs 26.2
Copyright (C) 2019 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
如果要删除,
sudo apt remove --autoremove emacs26 emacs26-nox
开始使用!
原文:https://www.cnblogs.com/yqpy/p/11402404.html