mit-scheme主页
http://www.gnu.org/software/mit-scheme/
资源网站:
http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.1.1/
在资源网站中下载
mit-scheme-9.1.1-doc-pdf.tar.gz ,里面有指导手册,mit-scheme-user.pdf
安装里面指示安装即可
32位下载 mit-scheme9.1.1-i386.tar.gz
64位下载 mit-scheme9.1.1-x86_64.tar.gz
1. 解压安装文件 ~$ tar zxvf mit-scheme-9.1.1.tar.gz will create a new directory ‘mit-scheme-VERSION’. 2. 进入解压后目录的src目录下: cd mit-scheme-9.1.1/src 3. 执行Configure ./configure
(注:执行完后可能出现error,提示一些东西not found。
我的提示 error:m4 not found。
使用 sudo apt-get install m4 然后重新 执行./configure即可)
4. Build the software: make compile-microcode 5. 安装 sudo make install
这样就安装好了
终端中输入 mit-scheme 出现下面内容:
~$ mit-scheme MIT/GNU Scheme running under GNU/Linux Type `^C' (control-C) followed by `H' to obtain information about interrupts. Copyright (C) 2011 Massachusetts Institute of Technology This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Image saved on Tuesday November 8, 2011 at 10:45:46 PM Release 9.1.1 || Microcode 15.3 || Runtime 15.7 || SF 4.41 LIAR/x86-64 4.118 || Edwin 3.116 1 ]=>
在1 ]=>后输入 (+ 1 2) 回车,可以体验scheme了