Diagrams/Install: Difference between revisions
< Diagrams
(→Installing on Mac OS X: add link to ML discussion re: OS X Lion) |
m (→Default installation: fix link) |
||
(13 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
= Default installation = | |||
The first step is to install the [http://haskell.org/platform Haskell Platform], if you don't already have it. Then it should be enough to simply run | |||
cabal install diagrams | |||
By default this will give you <code>diagrams-core</code> (core data structures), <code>diagrams-lib</code> (standard library), <code>diagrams-contrib</code> (user-contributed modules), and <code>diagrams-svg</code> (native Haskell backend outputting SVG files). | |||
The <code>diagrams-rasterific</code> backend is also fully-featured and can output various raster formats; if you run | |||
cabal install -frasterific diagrams | |||
it will be installed as well. | |||
[ | There are also some [[/Install-cairo|very old installation instructions for the cairo backend]]; YMMV. | ||
Latest revision as of 01:44, 19 April 2015
Default installation
The first step is to install the Haskell Platform, if you don't already have it. Then it should be enough to simply run
cabal install diagrams
By default this will give you diagrams-core
(core data structures), diagrams-lib
(standard library), diagrams-contrib
(user-contributed modules), and diagrams-svg
(native Haskell backend outputting SVG files).
The diagrams-rasterific
backend is also fully-featured and can output various raster formats; if you run
cabal install -frasterific diagrams
it will be installed as well.
There are also some very old installation instructions for the cairo backend; YMMV.