| 1 |
--- |
| 2 |
layout: post |
| 3 |
title: "Coot via Homebrew on macOS" |
| 4 |
date: Sat 13 Jul 00:28:56 BST 2024 |
| 5 |
--- |
| 6 |
|
| 7 |
I have recently been recommending the installation of Coot via [Homebrew](https://brew.sh/) on macOS. |
| 8 |
|
| 9 |
It is currently not as straightforward as I would like however. Hopefully things will be improved in the future. |
| 10 |
|
| 11 |
One would like to (just) use: |
| 12 |
|
| 13 |
```brew install coot``` |
| 14 |
|
| 15 |
... but that doesn't work at the moment. So one has to download a formula. |
| 16 |
|
| 17 |
The official home of the formula is from Yoshitaka Moriwaki's GitHub: |
| 18 |
|
| 19 |
[https://raw.githubusercontent.com/YoshitakaMo/homebrew-bio/coot/Formula/coot.rb](https://raw.githubusercontent.com/YoshitakaMo/homebrew-bio/coot/Formula/coot.rb) |
| 20 |
|
| 21 |
That sometimes doesn't work, so from time to time I update a backup/work-around script: |
| 22 |
|
| 23 |
[https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/files/coot.rb](https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/files/coot.rb) |
| 24 |
|
| 25 |
Having downloaded that `coot.rb` file, the incantation is as follows: |
| 26 |
|
| 27 |
```brew install ./coot.rb --HEAD``` |
| 28 |
|
| 29 |
If you have aleady installed a coot via Homebrew, you will need to delete it first: |
| 30 |
|
| 31 |
```brew uninstall coot``` |
| 32 |
|
| 33 |
Good luck and all that, people! |
| 34 |
|