summaryrefslogtreecommitdiff
path: root/INSTALL
blob: 98efbb8e8e307c1ea34b5b10484166690e1ece8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
INSTALLATION

Recommended method (ok in Ubuntu/Debian systems):
    $ sudo apt-get install libgsl0-dev liblapack-dev
    $ cabal install hmatrix

Detailed installation instructions:
    http://code.haskell.org/hmatrix/install.html

INSTALLATION ON WINDOWS ----------------------------------------

1) Install the Haskell Platform (tested with 2009.2.0.2).

2) Download and uncompress hmatrix from Hackage

   > cd c:\haskell
   > cabal unpack hmatrix

3) Download and uncompress the following file into the hmatrix
   directory, into a subdirectory named gsl-lapack-windows:

   http://code.haskell.org/hmatrix/gsl-lapack-windows.zip

4) Replace hmatrix.cabal by

   http://code.haskell.org/hmatrix/hmatrix-0.8.3.1-windows.cabal
   
5) In the hmatrix folder run

   > cabal install

6) If everything is ok we can run the tests:

   > runhaskell examples\tests.hs

NOTE: The examples using graphics do not yet work in windows.