[Freebsd-haskell] cabal-install

Gabor PALI pgj at FreeBSD.org
Sat Apr 17 01:37:33 EDT 2010


Hello Erik,

On Sat, Apr 17, 2010 at 4:13 AM, Erik de Castro Lopo
<mle+hs at mega-nerd.com> wrote:
> what's the easiest way to get cabal-install?

At the moment, the best way to get cabal-install installed on your
system is to simply download it and build then install.  Note that if
you want to use it on the system level, I do not recommend you to use
other FreeBSD Haskell ports than lang/ghc.

Here is a short recipe:

$ pkg_add -r wget
$ fetch http://haskell.org/cabal/release/cabal-install-0.8.2/cabal-install-0.8.2.tar.gz
$ tar -xzf cabal-install-0.8.2.tar.gz
$ cd cabal-install-0.8.2
$ sh bootstrap.sh
$ setenv PATH $PATH:$HOME/.cabal/bin


Hope that helps,
:g


More information about the FreeBSD-haskell mailing list