[Haskell-cafe] Re: Completely confused by cabal
Colin Paul Adams
colin at colina.demon.co.uk
Sun Mar 22 06:54:32 EDT 2009
>>>>> "Achim" == Achim Schneider <barsoap at web.de> writes:
Achim> 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?
>>
Achim> uh... because you're a mere user and don't have the rights to do so?
No, I own the machine.
Achim> try "su -", then "cabal update" to fill root's $HOME/.cabal
Achim> with the needed info, then proceed as usual.
Achim> TBH, though, I wouldn't use cabal as root, directly, use
Achim> your distro's package management system instead. Installing
I can't. It doesn't provide up-to-date ghc and things.
Achim> programs with your user account, inside your home
Achim> directory, is perfectly acceptable (and traditional) under
Achim> unix.
But it means I have to install everyhting twice - once as --user, once
as --global.
--
Colin Adams
Preston Lancashire
More information about the Haskell-Cafe
mailing list