This page is no longer updated

Visit the download page in the wiki or the forum for the latest download packages and information.

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 some 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.10.0.4 is here leksah-0.10.0.4-ghc-7.0.3.exe for ghc 7.0.3, and here leksah-0.10.0.4-ghc-6.12.3.exe for ghc 6.12.

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.10.0.4 is here Leksah-0.10.0.4.dmg. It works with ghc 7.0.3.

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

Linux

archlinux

archlinux provides packages for leksah.

Fedora

Fedora 14 and above:

Use "Add/Remove software" to install leksah. Alternatively, type in the following command in the command line

		su -c "yum install leksah"

for Fedora 13 x86_64 platform:
leksah-server-0.8.0.6-1.f13.x86_64.rpm
leksah-0.8.0.6-1.f13.x86_64.rpm

for Fedora 13 x86
leksah-server-0.8.0.6-1.f13.i386.rpm
leksah-0.8.0.6-1.f13.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 13 x86_64 platform

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

for Fedora 13 x86

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

for Fedora 12 x86_64 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
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_64 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

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

Ubuntu

Packages for natty (0.8) and oneiric (0.10) are in the universe repo. Use the Ubuntu Software Center to install, or type in the following command in the command line

		sudo sudo apt-get install leksah

Install instructions via Hackage can be found here. (The glade line is not necessary for running Leksah)

Please tell us if you have prepared packages for other distributions, and we will add the info here.

Developement

Development versions are now hosted on Github

  Choose or construct some appropriate base directory.  
        git clone git@github.com:leksah/binary-shared.git
        git clone git@github.com:leksah/ltk
        git clone git@github.com:leksah/leksah-server 
        git clone git@github.com:leksah/leksah 
  (Of course you can choose to fork a repo before, if you like).
        
        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.