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

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Apr 22 06:06:37 EDT 2009


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.

Duncan



More information about the Haskell-Cafe mailing list