This script probably still works, but might not. Check the version in my GitHub repository.
This is a script that can be used to easily install platon on macOS. If it doesn't work for you for some reason, leave a comment explaning what went wrong.
You can run this automatically by opening the Terminal app (in /Applications/Utilities
) and
pasting the following line:
/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/sjml/e64b836fbc87730cc2ffa01a192160c5/raw/install-platon.sh)"
Note that it will ask for your password, so stick around. It may look like it's frozen at a few points, but that's just because installing Xquartz and compiling stuff takes a bit of time. After it's done, open up an Xquartz terminal and run this command to test it:
platon ~/Desktop/platon/sucrose.spf
Once you've confirmed that works, you can delete the "platon" folder on your desktop, unless you
think you might want the sample sucrose.spf
file.
If you need platon to work with Olex², select the Home panel and then click on Settings. In that list,
there should be an entry for Path. Enter /usr/local/bin/
, click out of the settings box, and
restart Olex².
To update to the latest version, run the following line in the terminal:
/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/sjml/e64b836fbc87730cc2ffa01a192160c5/raw/update-platon.sh)"