<div dir="ltr"><div>I don't think that "apt-get install cabal" actually solves the core issue that sparked this thread for several reasons.<div><br></div></div><div>As someone who had to install GHC from scratch without having sudo access on a (non-Debian) machine, I can testify that the fact that the cabal binary is not part of the GHC distribution, and doesn't have an easily located downloadable binary, has caused me a lot of trouble. AFAIK there isn't any clear description of how someone is supposed to deal with such a situation (unless something has been added in the past year).</div>
<div><br></div><div>For example, The problem of handling the distro's package manager (whatever it is) with a language's package is a separate and thorny issue, which I think can't be "perfectly" solved short of unrealistic rewrite-the-world solutions. E.g., what happens if you do apt-get install cabal" and then use cabal to update itself to the newest version? What happens if you then "apt-get upgrade" and there's a newer version than the one apt installed, but it is older than the one you installed manually? etc.<br>
</div><div><div class="gmail_extra"><br></div><div class="gmail_extra">I think that "something" need to be done to make it easier to set up GHC + cabal, independently of HP (unless HP becomes the "one true way" to install Haskell, which I doubt is the case).<br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 22, 2014 at 11:25 AM, Simon Marlow <span dir="ltr"><<a href="mailto:marlowsd@gmail.com" target="_blank">marlowsd@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On 21/01/2014 08:42, harry wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Agreed. The significant barrier here isn't that cabal-install isn't delivered<br>
with GHC (that's HP's job), it's that there isn't a pre-build binary for<br>
linux at all, and that the binaries aren't linked to from the GHC download<br>
site.<br>
</blockquote>
<br>
Your Linux distro already provides a cabal-install that will work with the latest GHC, just "apt-get install cabal" or equivalent, then "cabal install cabal-install" to update it if necessary.<br>
<br>
Cheers,<br>
Simon<div class=""><div class="h5"><br>
______________________________<u></u>_________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" target="_blank">Libraries@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/<u></u>mailman/listinfo/libraries</a><br>
</div></div></blockquote></div><br></div></div></div>