[Haskell-beginners] cabal install

Kim-Ee Yeoh ky3 at atamo.com
Tue Mar 18 20:04:26 UTC 2014


On Wed, Mar 19, 2014 at 12:02 AM, Brent Yorgey <byorgey at seas.upenn.edu>wrote:

> cabal install --root-cmd=sudo --global cabal-install
>
> That way, cabal will only acquire root privileges for the
> installation.  It does not need to run as root for the entire
> downloading, building, etc. process, and in fact doing so can be bad,
> since it pollutes your package cache with files owned by root, leading
> to potential permissions problems in the future.
>

Oh my. This is some long magical incantation.

Is this documented somewhere? At least in the cabal faq?

-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140319/9f16094d/attachment.html>


More information about the Beginners mailing list