Download

You can either install from an installer or package for your platform, or from Hackage.

For detailed installation instructions consult the User Manual and the (currently outdated) Installation Instructions from the User Wiki.

When you first run Leksah it will take several minutes or so to index the Haskell metadata and may give no feedback.

Leksah don't run with ghc-6.12.2 because of this bug: http://hackage.haskell.org/trac/ghc/ticket/4038

Hackage

Install from Hackage if their is no specific installer/package available for your OS, or if you are an experienced (Haskell) developer and know what you do. Latest published version is here. You need to have gtk2hs installed, which is now available on Hackage. Leksah needs as well the gtksourceview2 part of gtk2hs. On Windows and Mac it is more complicated, so that we suggest you use the installers. Here you find more info about installing gtk2hs.

    
cabal install gtk2hs-buildtools

Then do a

cabal install leksah

Windows

You need to have the Haskell compiler installed before installing Leksah. The prefered way is to install the Haskell Platform.. If the Haskell platform is not available or not desired, install the Glasgow Haskell Compiler.

Take care that grep is on your path from a windows shell. You can download Gnu grep for Windows or use Cygwin and take care for the paths.

If the module browser has no modules in system, you need to do a ghc-pkg recache after installation.

Version 0.8.0.6 is here Leksah-0.8.0.6.exe. It requires Ghc 6.12.1

Mac OS X

You can follow the instructions in the manual for installing using MacPorts or download the binary version.

You need to have the Haskell compiler installed before installing Leksah. The prefered way is to install the Haskell Platform.. If the Haskell platform is not available or not desired, install the Glasgow Haskell Compiler.

If the module browser has no modules in system, you need to do a ghc-pkg recache after installation.

Version 0.8.0.6 is here Leksah-0.8.0.1.dmg. It requires Ghc 6.12.1

When you first run Leksah it will take several minutes or so to index the Haskell metadata and may give no feedback.

Linux

archlinux

archlinux provides packages for leksah.

Fedora

for Fedora 12 x86 platform:
leksah-server-0.8.0.6-1.fc12.x86_64.rpm
leksah-0.8.0.6-1.fc12.x86_64.rpm

for Fedora 12 x86_64
leksah-server-0.8.0.6-1.fc12.i386.rpm
leksah-0.8.0.6-1.fc12.i386.rpm

Before proceeding to install, if you have installed older 0.8 packages via yum, kindly remove them using the following command yum remove leksah leksah-server.

To install the new packages, use the following command:

for Fedora 12 x86 platform

yum --nogpgcheck install leksah-server-0.8.0.6-1.fc12.x86_64.rpm leksah-0.8.0.6-1.fc12.x86_64.rpm

for Fedora 12 x86_64

yum --nogpgcheck install leksah-server-0.8.0.6-1.fc12.i386.rpm  leksah-0.8.0.6-1.fc12.i386.rpm

There is a split in leksah-server into two packages, leksah-server and a devel package. Hence the dependencies that were earlier required to be installed are not required now

Developement

Development/ Head developement versions can be installed with the following procedure

  Choose or construct some appropriate base directory. 
        darcs get http://code.haskell.org/binary-shared
        darcs get http://code.haskell.org/ltk
        darcs get http://code.haskell.org/leksah-head/leksah-server 
        darcs get http://code.haskell.org/leksah-head/leksah 
        
        Build and install everything:
        #!/bin/sh
        basedir="/home/???/Develop/lws"
        cd "$basedir/binary-shared/"
        cabal install
        
        cd "$basedir/ltk/"
        cabal install
        
        cd "$basedir/leksah-server/"
        cabal install
        
        cd "$basedir/leksah/"
        cabal install
        
        You can run the server separately with (good for debugging):
        leksah-server --server. Otherwise the server starts when leksah is started.