[Haskell-cafe] Re: Cabal's default install location

Victor Nazarov asviraspossible at gmail.com
Wed Apr 22 07:28:59 EDT 2009

On Wed, Apr 22, 2009 at 2:06 PM, Duncan Coutts
<duncan.coutts at worc.ox.ac.uk>wrote:

> On Wed, 2009-04-22 at 11:33 +0200, david48 wrote:
> >
> > The default should at least be consistent among cabal install, runghc
> > Setup.hs, installing GHC, Gtk2Hs, and so on.
> >
> > If GHC is installed in /home/myusername/local,
> Where you choose to install ghc is not related.
> > what does cabal install --global ?
> Global always means /usr/local by default, unless you change it in the
> cabal config file.
> By default ghc, gtk2hs also install globally in /usr/local (unless you
> specify a --prefix.)
> This tradition of global and /usr/local for ./configure scripts is ok,
> but for a convenient package manager it's not necessarily ideal.
> Ubuntu/Debian policy seems to be installation into /var/lib/cabal . So it's
clear that the whole hierarchy is managed by single tool cabal. Drawback is
that you should add /var/lib/cabal/bin into your PATH.

Victor Nazarov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090422/5abfdbc2/attachment.htm

More information about the Haskell-Cafe mailing list