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

Daniel Fischer daniel.is.fischer at web.de
Wed Apr 22 07:07:30 EDT 2009

Am Mittwoch 22 April 2009 12:06:37 schrieb Duncan Coutts:
> 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.)

But when I install a binary, it always ends up in /usr/lib and /usr/bin, not in 
/usr/local. How come?
Fortunately, once I've got the first binary, it's source installs from then on :)

> 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