Skip to content

Instantly share code, notes, and snippets.

@rcanepa
Last active December 19, 2015 15:51
Show Gist options
  • Save rcanepa/115bc4aed8bde14d45ca to your computer and use it in GitHub Desktop.
Save rcanepa/115bc4aed8bde14d45ca to your computer and use it in GitHub Desktop.
Installing MIT Scheme on OSX

#Instructions to install MIT Scheme on OSX

  1. Download either the 32-bit or 64-bit dmg file for Scheme from http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/.

  2. Double click the .dmg file, and you'll get this window, in which you should drag the "MIT/GNU Scheme" file into the Applications folder.

  3. Execute the following commands depending on the package version and OSX version:

##OSX pre El Capitan##

####For the 32-bit version#### sudo ln -s /Applications/MIT:GNU\ Scheme.app/Contents/Resources /usr/local/lib/mit-scheme-i386 sudo ln -s /usr/local/lib/mit-scheme-i386/mit-scheme /usr/bin/scheme

####For the 64-bit version sudo ln -s /Applications/MIT:GNU\ Scheme.app/Contents/Resources /usr/local/lib/mit-scheme-x86-64 sudo ln -s /usr/local/lib/mit-scheme-x86-64/mit-scheme /usr/bin/scheme

##OSX El Capitan

####For the 64-bit version sudo ln -s /Applications/MIT:GNU\ Scheme.app/Contents/Resources /usr/local/lib/mit-scheme-x86-64 sudo ln -s /usr/local/lib/mit-scheme-x86-64/mit-scheme /usr/local/bin/scheme

#Usage

On the command line:

scheme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment