Install COOT via CCP4 or Homebrew
The two best options for installing COOT on MacOS (formerly OSX) are the following:
-
Install Coot with CCP4. Currently, this is the best option if you want a version of COOT that simply works. It, like all CCP4 programs, is maintained by paid professionals.
- Install Coot with Homebrew. The COOT homebrew package is maintained by Prof. Yoshitaka Moriwaki. The most up-to-date
information about how to do this, and how to deal with run-time problems, can be found
on this github page. I do not maintain COOT or any Homebrew packages. I am merely a fellow user, so I am unable to offer anything beyond informal experiences, listed below, which may be out of date or simply incorrect.
I have been unable to get any recent versions of coot working within Fink, which is where the package I mainain(ed) resides. Fink, unfortunately, is not very up-to-date anymore, and thanks to a punitive teaching load, I haven't had any time to invest in trying to get this to work. Frankly, I think Homebrew is our best hope.
My very informal and unofficial notes on Installing Coot with Homebrew
For about 20 years I maintaned a coot package in fink. The standalone coot package was in fact based on fink as well. Homebrew is now miles
ahead of fink, both in terms of ease of use, and in terms of running natively on "Apple Silicon/M1x" processors. In addition, fink had fallen
far behind with respect to maintaining packages upon which coot relies for its GUI functionality. For that reason, I recommend installing Homebrew
(which can peacefully coexist with other package management systems).
- Install Homebrew according to these instructions.
Allow it to install in the default location (which differs according to processor type). This will enable installing binaries by default.
- Add Homebrew to your $PATH. For zsh and bash, you will want this in a dot file:
For Apple Silicon/M1:
export PATH=/opt/homebrew/bin:$PATH
OR, for Intel, instead use:
export PATH=/usr/local/bin:$PATH
- Optional: Install PyMOL as a positive control. (This will confirm that Homebrew is working properly, and
will give you a fully-functioning version of the OpenSource PyMOL.) This also shows how to enable some optional "taps" that you will
presumably like to have.
brew upgrade
brew install pymol
- Install Coot by issuing the following commands:
brew install wget
wget https://raw.githubusercontent.com/YoshitakaMo/homebrew-bio/coot/Formula/coot.rb -O coot.rb
brew install ./coot.rb --verbose --debug --keep-tmp --HEAD
(Eventually that will be available within Homebrew, and it will just download and install a pre-compiled binary.)
At some point early in the process, you will be prompted to allow installation of the command-line tools. Also, this installs a gtk-3/python3 version of coot, and it is X11-independent. There are still a few glitches, but
Yoshitaka Moriwaki got much further with this than I did (Sorry, folks!).