1.安装 Emacs
sudo apt-get install emacs
2.安装 Common Lisp 环境
sudo apt-get install common-lisp-controller
3.安装 Slime
sudo apt-get install slime
4.修改 Emacs 配置文件,以支持 Common Lisp
emacs -nw ~/.emacs.d/user.el
(setq inferior-lisp-program "/usr/bin/sbcl")
(add-to-list 'load-path "/usr/local/bin/slime/")
(require 'slime)
(slime-setup)
(slime-setup '(slime-fancy))
5.验证开发环境
emacs 或 emacs -nw
输入 Alt + X,输入 slime,回车