[Haskell-cafe] Re: Completely confused by cabal

Achim Schneider barsoap at web.de
Sun Mar 22 06:49:59 EDT 2009

Colin Paul Adams <colin at 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.

More information about the Haskell-Cafe mailing list