Answers:
除了abo-abo的建议之外,您还可以自己构建源:
git clone git://git.savannah.gnu.org/emacs.git
cd emacs
sudo apt-get build-dep emacs24 # for rpm-based linux: sudo yum-builddep emacs
./configure # if there's no configure script: ./autogen.sh
make # if that fails: make bootstrap
sudo make install
make clean
./configure
我不得不做./autogen.sh
其他方法之前,外线方法工作(tm)
使用快照:
sudo add-apt-repository -y ppa:ubuntu-elisp
sudo apt-get update
sudo apt-get install emacs-snapshot
稳定版本(当前为25.1):
sudo apt-add-repository -y ppa:adrozdoff/emacs
sudo apt update
sudo apt install emacs25
为LTS 14.04和16.04提供的软件包。
The following packages have unmet dependencies: emacs25 : Depends: emacs25-bin-common (= 25.1-trusty~ppa2) but it is not going to be installed
我遵循了一些依赖关系链,然后尝试了sudo apt-get install emacs25 emacs25-bin-common emacs25-common emacsen-common emacs25-el
但出现了此错误: The following packages have unmet dependencies: emacs25-common : Depends: emacsen-common (>= 2.0.8) but 2.0.8~trusty1 is to be installed
我不确定接下来要尝试什么。