Before you Install
A recent version of the Glasgow Haskell Compiler (GHC) is required to build, install, and run husk. The recommended way to get GHC is to install the Haskell Platform.
husk has been tested to work on Windows, Linux, and FreeBSD.
Install using Cabal
After installing the Haskell Platform, Husk may be installed using Cabal:
cabal update
cabal install husk-scheme
~/.cabal/bin. Now you are ready to go:
# Run the interpreter
huski
# Run the compiler
huskc
Build from Source
Alternatively, husk may be built from source. The first thing you need to do is download the latest version of husk from here.
Before building husk, all of the required dependencies must be available. On Fedora these dependencies are:
- ghc
- ghc-doc
- ghc-parsec-devel
- ghc-haskeline-devel
- ghc-ghc-paths-devel
- ghc-ghc-devel
# Build and Install husk to your HOME directory
make all
make install
# Optional steps to run all the built-in unit tests
make test
make testc