Common Lisp on CentOS 7
I'm looking for a way to get a working generic Lisp compiler on CentOS 7.
It seems that neither the base nor the EPEL repositories contain any widely available open source Lisp compilers. There is information about CLISP and SBCL on CentOS 6, but not a single compiler on CentOS 7.
Am I missing something or have I switched from RHEL6 to RHEL7 completely forgot about CL compilers?
source to share
It is often better to get a Common Lisp system than from a distribution system. The package system lags behind and the Common Lisp library model is not suitable for packages.
You can download the SBCL binary from http://www.sbcl.org/
You can get Clozure CL from http://ccl.clozure.com/
Other implementations are available in a similar manner, but these two are the best.
source to share
SBCL is available at EPEL7: https://dl.fedoraproject.org/pub/epel/7/x86_64/repoview/sbcl.html
(I guess it wasn't provided yet when this question was originally asked, but at least at the time of writing it there.)
source to share
I'm sure this 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.
source to share
There is a COPR-Repo for EPEL7: https://copr.fedoraproject.org/coprs/shassard/sbcl/
Maybe you enjoy trying this one?
source to share
I can install SBCL on Amazon EC-2 - CentOS 7 using the following command:
wget https://copr-be.cloud.fedoraproject.org/results/shassard/sbcl/epel-7-x86_64/sbcl-1.2.9-1.el7.centos/sbcl-1.2.9-1.el7.centos.x86_64.rpm
sudo rpm -Uvh sbcl-1.2.9-1.el7.centos.x86_64.rpm
Note. I was unable to run "sudo yum install SBCL"
source to share