Ubuntu的debian库内置的emacs-26.3没有dynamic-modules支持。因此即使当下安装成功,他日迟早要卸载重装。自带的版本如下:
gaowei@alpha:/mnt/c/Users/gaowei$ apt-cache show emacsPackage: emacsArchitecture: allVersion: 1:26.3+1-1ubuntu2Priority: optionalSection: universe/editorsOrigin: Ubuntu
我的机器是在wsl上运行Ubuntu-20.04。
运行在window10上。
添加kelley-repository
如前文所述,Ubuntu官方库的emacs-26.3是纯净版,多数功能不是使用。
add-apt-repository ppa:kelleyk/emacsapt-get updateapt-get install emacs26
安装依赖:
# required dependenciesapt-get install git ripgrep# optional dependenciesapt-get install fd-find
安装过程的最后一步的install-all-the-icons,需要解决raw.githubusercontent的DNS污染的问题。
收尾总结
运行emacs后的效果
以上,doom-emacs完全功能版安装完毕。