2 votes

Quelle est la routine d'installation pour Common Lisp / SLIME/SBCL ?

Quelqu'un peut-il me donner une procédure d'installation détaillée pour Common Lisp / SLIME / SBCL sur Ubuntu ?

1voto

waltinator Points 32821

Il s'agit de la version 14.04.03 LTS. Dans un terminal ( CtrlAltT ), j'écrirais :

# 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)$

SistemesEz.com

SystemesEZ est une communauté de sysadmins où vous pouvez résoudre vos problèmes et vos doutes. Vous pouvez consulter les questions des autres sysadmins, poser vos propres questions ou résoudre celles des autres.

Powered by:

X