我想简单地做:
sudo apt install emacs
Run Code Online (Sandbox Code Playgroud)
在 Ubuntu 20.04 上。
结果是,安装时出现错误emacsen-common,emacs-gtk最终是所有 emacs 的依赖项。我看到的错误是:
Setting up emacs-gtk (1:26.3+1-1ubuntu2) ...
Install emacsen-common for emacs
emacsen-common: Handling install of emacsen flavor emacs
emacs: error while loading shared libraries: libotf.so.0: cannot open shared object file: No such file or directory
ERROR: install script from emacsen-common package failed
dpkg: error processing package emacs-gtk (--configure):
installed emacs-gtk package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of emacs: …Run Code Online (Sandbox Code Playgroud)