Common Lisp / SLIME / SBCL 的安装程序是什么?

Common Lisp / SLIME / SBCL 的安装程序是什么?

有人能给我提供 Ubuntu 上 Common Lisp / SLIME / SBCL 的详细安装过程吗?

答案1

这是针对 14.04.03 LTS 的。在终端 ( CtrlAltT) 中,我将输入:

# Note: the first part of the command line up to the "$ " is my prompt, 
# and not what I typed. I apologize for this if you know your a** from your
# elbow.

w3@aardvark:~(130)$ apt-cache search slime  

cl-swank - Superior LISP Interaction Mode for Emacs (Lisp-side server)
common-lisp-controller - Common Lisp source and compiler manager
sbcl-source - Source code files for SBCL
slime - Superior LISP Interaction Mode for Emacs
slimevolley - unrealistic 2D volleyball simulation
slimevolley-data - unrealistic 2D volleyball simulation - data files
stumpwm - tiling, keyboard driven Common Lisp window manager

# remove "--dry-run" to really install  

w3@aardvark:~(0)$ sudo apt-get --dry-run install slime 
[sudo] password for w3: 

# Your system's list of "additional" packages may vary. I have installed
# packages previously, and you may have, as well

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  cl-asdf cl-swank common-lisp-controller realpath
Suggested packages:
  sbcl darcs
The following NEW packages will be installed:
  cl-asdf cl-swank common-lisp-controller realpath slime
0 upgraded, 5 newly installed, 0 to remove and 4 not upgraded.
Inst cl-asdf (2:3.0.3-1 Ubuntu:14.04/trusty [all])
Inst cl-swank (1:20130626-1 Ubuntu:14.04/trusty [all])
Inst realpath (1.19 Ubuntu:14.04/trusty [amd64])
Inst common-lisp-controller (7.10 Ubuntu:14.04/trusty [all])
Inst slime (1:20130626-1 Ubuntu:14.04/trusty [all])
Conf cl-asdf (2:3.0.3-1 Ubuntu:14.04/trusty [all])
Conf cl-swank (1:20130626-1 Ubuntu:14.04/trusty [all])
Conf realpath (1.19 Ubuntu:14.04/trusty [amd64])
Conf common-lisp-controller (7.10 Ubuntu:14.04/trusty [all])
Conf slime (1:20130626-1 Ubuntu:14.04/trusty [all])

# Without "--dry-run" above, this would have installed slime
# and the following command would have listed the files in the slime package

w3@aardvark:~(0)$ dpkg -L slime
dpkg-query: package 'slime' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
w3@aardvark:~(1)$

相关内容