Colin Paul Adams <co...@colina.demon.co.uk> wrote:

> Why does cabal install nearly everything in the user repository rather
> than the global repository?
>

uh... because you're a mere user and don't have the rights to do so?

try "su -", then "cabal update" to fill root's $HOME/.cabal with the
needed info, then proceed as usual.

TBH, though, I wouldn't use cabal as root, directly, use your distro's
package management system instead. Installing programs with your user
account, inside your home directory, is perfectly acceptable (and
traditional) under unix.

-- 
(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved. Copying, hiring, renting,
performance and/or quoting of this signature prohibited.


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to