SBCL installation in linux
Solution 1
If you are using the Debian or Ubuntu distributions, you can install SBCL from their repositories: just type sudo apt-get install sbcl
.
Solution 2
What flavor of linux?
If you use a popular distribution, e.g., debian, ubuntu, fedora, &c, then sbcl comes prepackaged: aptitude install sbcl
or yum install sbcl
.
Solution 3
in file which include to archive with sources and named INSTALL we see next text:
end of section 2.1
... Now you should have the same src/runtime/sbcl and output/sbcl.core files that come with the binary distribution, and you can install them as described in the section 1. "BINARY DISTRIBUTION".
the way for you are next:
download sbcl sources using any convenient way for you.
run shell terminal (may be window) and go to the sources archive path
$ cd /path/to/sbcl-sources.tar.bz2
$ tar -xjvf sbcl*.tar.bz2
$ cd sbcl [TAB COMPLETE AND ENTER]
$ emacs INSTALL
now you will see INSTALL file, which contains installation notes. As we will see in 2.1 section
To build SBCL you need a working toolchain and a Common Lisp system (see section 2.5 "Supported platforms"). You also need approximately 128 Mb of free RAM+swap.
To build SBCL using alredy installed SBCL run
$sh make.sh # may be need execute rights. run 'chmod +x make.sh' and try again
and go next according instruction.
If you don't have existing sbcl instruction said next:
If you don't already have an SBCL binary installed as "sbcl" on your system, you'll need to tell make.sh what Lisp to use as the cross-compilation host. For example, to use CMUCL (assuming has been installed under its default name "lisp") as the cross-compilation host:
$ sh make.sh --xc-host='lisp -batch -noinit'
assuming supported lisp platforms see 2.5 section. Generally, if you attentively read INSTALL file you will able to do it easy and quickly. Have fun and happy new year.
Solution 4
install the binary first http://sourceforge.net/projects/sbcl/files/sbcl/1.2.7/sbcl-1.2.7
then install the latest version http://sourceforge.net/projects/sbcl/files/sbcl/1.2.16/sbcl-1.2.16-source.tar.bz2/download?use_mirror=iweb&download=
Red Lv
Updated on June 04, 2022Comments
-
Red Lv almost 2 years
How to install sbcl in os linux for a freshman of lisp.
I found just use the command sh install.sh the error info is: src/runtime/sbcl not found, aborting installation
-
Red Lv almost 11 yearsRedHat Linux. The apt and yum command has been forbidden in the os. So the only way to install is to download the source or the binary to install.