see http://www.haskell.org/soe/software1.htm
  1. If you can use yum (Fedora) install ghc-soegtk-devel and ghc-OpenGL-devel
    yum install ghc-soegtk-devel
    yum install ghc-OpenGL-devel
    
    note that some linux distros use apt-get or other systems.
  2. get /net/wbc/Download/GLFW-0.4.1.tar.gz or get GLFW-0.4.1.tar.gz from http://hackage.haskell.org/packages/archive/GLFW/0.4.1/
  3. install GLFW, probably as root
     tar xzvf GLFW-0.4.1.tar.gz
    cd GLFW-0.4.1
    runhaskell Setup.hs configure
    runhaskell Setup.hs build
    runhaskell Setup.hs install
    
  4. Test it - go to your SOE/src folder and run
    ghci  Picture.lhs
    
    and type "main" You should get the demo window. To exit click in the black. Control-D will take you out of ghci.