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 don’t maintain backward compatibility between versions, and it takes time to migrate Figaro to the latest version of Scala, so Figaro doesn’t always work with the most recent Scala version. sbt takes care of the dependencies for you and makes sure the appropriate version of Scala is used.

A.1. Using sbt

A.2. Installing and running Figaro without sbt

A.3. Compiling from source