Gentoo/HaskellPlatform

From HaskellWiki

Gentoo supports the Haskell Platform!

Setup[edit]

There are two ways to install haskell-platform, from the main portage tree or the overlay. The overlay is recommended as the overlay includes additional haskell packages that are not in the portage tree.

Overlay[edit]

To get the latest version use the overlay. If you haven't already, install layman (this is used to setup overlays). Then run 'layman -a haskell' to install the haskell overlay. Now you are ready to install.

Portage Setup[edit]

Gentoo portage packaging policy requires that packages can not be marked stable until they have been in the portage tree for > 30 days. Some of the ebuilds are not stable yet, so they need to be enabled by adding these entries to /etc/portage/package.keywords:

app-admin/haskell-updater
dev-haskell/alex
dev-haskell/cabal
dev-haskell/cabal-install
dev-haskell/cgi
dev-haskell/deepseq
dev-haskell/fgl
dev-haskell/gluraw
dev-haskell/glut
dev-haskell/haddock
dev-haskell/happy
dev-haskell/haskell-platform
dev-haskell/haskell-src
dev-haskell/hscolour
dev-haskell/html
dev-haskell/http
dev-haskell/hunit
dev-haskell/mtl
dev-haskell/network
dev-haskell/objectname
dev-haskell/openglraw
dev-haskell/opengl
dev-haskell/parallel
dev-haskell/parsec
dev-haskell/quickcheck
dev-haskell/random
dev-haskell/regex-base
dev-haskell/regex-compat
dev-haskell/regex-posix
dev-haskell/statevar
dev-haskell/stm
dev-haskell/syb
dev-haskell/tensor
dev-haskell/text
dev-haskell/time
dev-haskell/transformers
dev-haskell/xhtml
dev-haskell/zlib
dev-lang/ghc

Install[edit]

Now, to install, run:

emerge haskell-platform

This will pull the GHC compiler, Cabal, and all the libraries included in HP. If you want haddock documentation, set your USE="doc". If you also want profiling libraries, set USE="profile".

Feedback[edit]

Got any feedback for the packages above? Let us know!

You'll find us in #gentoo-haskell @ freenode, or send your comments to haskell@gentoo.org.