搭建 Emacs 开发环境

Summary: Author: 张亚飞 | 阅读时间: 1 minute read | Published: 2018-12-16
Filed under Categories: LinuxTags: Note,

简明 Emacs

一年成为Emacs高手 (像神一样使用编辑器) Spacemacs入门与基本用法

Emacs 安装

emacs 7.1 How do I install Emacs?

wget https://github.com/emacs-mirror/emacs/archive/emacs-26.3.tar.gz
tar -zxvf emacs-26.3.tar.gz
cd emacs-26.3
./autogen.sh
./configure
make
make install
  • ./configure 报以下错
configure: error: You do not seem to have makeinfo >= 4.13, and your
source tree does not seem to have pre-built manuals in the 'info' directory.
Either install a suitable version of makeinfo, or re-run configure
with the '--without-makeinfo' option to build without the manuals.
  • 安装 texinfo
sudo apt-get install texinfo
  • 查看 makeinfo 版本
$ makeinfo --version
texi2any (GNU texinfo) 6.5

Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

使用 Ubuntu 包安装

  • 安装
sudo add-apt-repository ppa:kelleyk/emacs
sudo apt update
sudo apt install emacs26
  • 卸载
sudo apt remove --autoremove emacs26 emacs26-nox

How to Install GNU Emacs 26.1 in Ubuntu 18.04, 16.04, 18.10


Comments

Cor-Ethan, the beverage → www.iirii.com