
Hi, I installed the haskell platform for ubuntu, which contains cabal-install version 1.16.0.2 I'd like to use sandboxes, which as I understand is available in versions
= 1.18.
Is it best to clone the cabal git repo and install as described herehttp://coldwa.st/e/blog/2013-08-20-Cabal-sandbox.html? In which case, should I remove the existing cabal installation from "/usr/bin"? Best, Ari

Hi Ari, On Wed, Apr 30, 2014 at 12:18:08PM -0400, Ari King wrote:
Is it best to clone the cabal git repo and install as described here? In which case, should I remove the existing cabal installation from "/usr/bin"?
It's just: cabal install cabal-install Greetings, Daniel

Probably one needs to ensure that ~/.cabal/bin is in the PATH-variable
before the path that cabal normally lives in. Alternatively you have to use
sudo and the --global switch for cabal (not recommended).
Am 30.04.2014 18:22 schrieb "Daniel Trstenjak"
Hi Ari,
On Wed, Apr 30, 2014 at 12:18:08PM -0400, Ari King wrote:
Is it best to clone the cabal git repo and install as described here? In which case, should I remove the existing cabal installation from "/usr/bin"?
It's just:
cabal install cabal-install
Greetings, Daniel _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

On Wed, Apr 30, 2014 at 07:40:10PM +0200, Norbert Melzer wrote:
Probably one needs to ensure that ~/.cabal/bin is in the PATH-variable before the path that cabal normally lives in. Alternatively you have to use sudo and the --global switch for cabal (not recommended).
*If* you ever have to install something globally with cabal, note that you should use cabal install --global --root-cmd=sudo and NOT 'sudo cabal install --global'. This is so that cabal will only take root privileges for the actual copying/installation, and not pollute your package cache, etc. with files owned by root. *But* as Norbert says (and I strongly agree), it is not recommended to use --global with cabal, unless you know what you are doing and why. -Brent
Am 30.04.2014 18:22 schrieb "Daniel Trstenjak"
: Hi Ari,
On Wed, Apr 30, 2014 at 12:18:08PM -0400, Ari King wrote:
Is it best to clone the cabal git repo and install as described here? In which case, should I remove the existing cabal installation from "/usr/bin"?
It's just:
cabal install cabal-install
Greetings, Daniel _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
participants (4)
-
Ari King
-
Brent Yorgey
-
Daniel Trstenjak
-
Norbert Melzer