Appendix A. Obtaining and installing Scala and Figaro

This appendix contains instructions for getting Figaro installed and running on your computer. The easiest way by far is to use the Scala Build Tool (sbt). Instructions for running Figaro using sbt are described in section A.1. If for some reason you can’t or don’t want to use sbt, instructions for a manual installation are presented in section A.2.

The official version of Figaro for the code in this book is 3.3. Earlier versions of Figaro don’t support all features described in the book. We’ll try to make future versions backward compatible if at all possible, so you should be able to use later versions of Figaro as well.

Figaro 3.3 uses Scala 2.11.x. Unfortunately, the Scala developers ...

Get Practical Probabilistic Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.