Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Common Lisp on CentOS 7

I'm looking for a way to get a working Common Lisp compiler in CentOS 7.

It seems that neither base or EPEL repos contain any of the widely available open-source Lisp compilers. There are bits of info regarding CLISP and SBCL on CentOS 6 but none about any compiler on CentOS 7.

Am I missing something here or has the switch from RHEL6 to RHEL7 completely forgot about CL compilers ?

like image 779
thodg Avatar asked Dec 14 '22 17:12

thodg


2 Answers

It's often better to get Common Lisp systems directly than from a distribution's package system. The package system lags behind, and the library model of Common Lisp does not lend itself well to packages.

You can download an SBCL binary from http://www.sbcl.org/

You can get Clozure CL from http://ccl.clozure.com/

Other implementations are available in similar ways, but those two are the best.

like image 136
Xach Avatar answered Jan 13 '23 11:01

Xach


I am sure yum install sbcl clisp will work:

$ yum search sbcl
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.mirror.nac.net
 * epel: mirrors.einstein.yu.edu
 * extras: reflector.westga.edu
 * updates: mirror.es.its.nyu.edu
========================================== N/S Matched: sbcl 
maxima-runtime-sbcl.x86_64 : Maxima compiled with SBCL
sbcl.x86_64 : Steel Bank Common Lisp

  Name and summary matches only, use "search all" for everything.
like image 34
sds Avatar answered Jan 13 '23 10:01

sds