Installation instructions¶
- Install the Haskell tool stack. The recommended way is by simply downloading a binary for your platform.
- Download the latest release of the rarecoal repository, or clone it directly via
git clone https://github.com/stschiff/rarecoal.git. In the latter case you can also easily update the repository by executinggit pullwithin the directory. cdinto the downloaded folder.- Run stack build. This will download all the dependencies, including the Haskell Compiler, and may take a while. You may get an error about missing software such as pkg-config, or gsl, which then need to be installed using your standard package manager, such as
apt-geton Linux orbrewon a Mac. As soon as you have installed those, just runstack buildagain to continue where you left before the error. - After building, the executables are buried relatively deep in the hidden
.stack-workdirectory within therarecoaldirectory. You can either find them in there or simply runstack installto copy the executables into “~/.local/bin”. You should then add this directory to your path. - Download the rarecoal-tools repository and install it using
stack buildandstack installexactly as described above for the rarecoal repository.