wiki:Tutorial/Installation

Installation

This section walks through the installation of DDC, points out what directories things go to, and covers some common problems.

Installation

Ensure you have a working version of GHC 8.0 or later. We don't support older GHC versions. If you have an older version then you will need to upgrade.

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.0

If you're on Linux you may need to install LLVM separately. This should already be present on OSX.

Refresh the Cabal package database and install top-level ddc-tools package. This will install all the dependencies as well.

$ cabal update
$ cabal install ddc-tools

Not that the COIN/CBC integer linear programming library that we use for data flow fusion can take several minutes to compile.

If you're on OSX and want to install COIN/CBC separately then do:

$ brew tap homebrew/science
$ brew install coinmp
Last modified 6 months ago Last modified on Sep 6, 2016, 10:18:16 AM