How to install MIT Scheme on Mac?

前端 未结 10 903
一个人的身影
一个人的身影 2020-12-22 17:07

I want to install MIT Scheme on my Mac, I have downloaded the MacOS X binary(x86-64).

However, I could not make it work using Mac Terminal.

I have t

相关标签:
10条回答
  • 2020-12-22 17:32

    UPDATE FOR MAC OS HIGH SIERRA:

    Worked for me just by executing (if you are using Homebrew):

    brew install mit-scheme

    0 讨论(0)
  • 2020-12-22 17:38

    If you have the latest version of Mac system, El Capitan 10.11.2, You might need to do something different than above.

    The first command will be same. For the 64-bit version, first run this command:

    sudo ln -s /Applications/MIT\:GNU\ Scheme.app/Contents/Resources /usr/local/lib/mit-scheme-x86-64
    

    Then enter your administrator password and run this command:

    sudo ln -s /usr/local/lib/mit-scheme-x86-64/mit-scheme /usr/local/bin/scheme

    Note: The difference is you need to put local between /usr/ and /bin/

    Type scheme in the terminal to see if it works. If you get the following screenshot, that means you succeed it.

    Success Result

    You definitely need to put local there. The reason is this, Apple improved OS security in OSX 10.10 (rootless), and changes to the general system-wide binaries (such as /usr/bin) is not permitted.

    0 讨论(0)
  • 2020-12-22 17:39

    I came across a problem that the 10.x versions of the MIT/GNU Scheme do not support Mac OS X 10.11 El Capitan. In fact, it requires Mac OS X 10.13 or higher.

    The topmost version supporting older Mac OS X versions is MIT/GNU Scheme 9.2.

    0 讨论(0)
  • 2020-12-22 17:47

    If you are using MacPorts, the command is similar to what others have posted for homebrew -

    sudo port install mit-scheme
    

    That set me up pretty well on OS X 10.8.5

    0 讨论(0)
提交回复
热议问题