[Haskell-beginners] ghc-8.4.3 at Ubuntu

Jeffrey Brown jeffbrown.the at gmail.com
Mon Jun 4 07:22:23 UTC 2018


You could use stack instead of cabal. The most recent nightly stack
snapshots use GHC 8.4.3. Stack has a lot[1] of advantages. One of them is
that you can use a bunch of different versions of GHC at the same time.
Whereas Cabal keeps a global collection of Haskell software, Stack keeps a
bunch of different local ones, while cleverly avoiding wasting memory like
you might expect that to imply. If you have a project that needs old stuff
that's incompatible with new stuff, you're SOL with Cabal but it's no
problem in Stack.

[1]
https://stackoverflow.com/questions/30913145/what-is-the-difference-between-cabal-and-stack

On Mon, Jun 4, 2018 at 2:08 AM Andreas Röhler <andreas.roehler at easy-emacs.de>
wrote:

> While installing ghc-8.4.3-i386-deb8-linux.tar.xz at Debian8 went
> smoothly, can't se how to install ghc-8.4.3 at Ubuntu resp. Xubuntu:
>
>
> in dir ghc-8.4.3/
>
> ./configure
> checking for gfind... no
> checking for find... /usr/bin/find
> checking for sort... /usr/bin/sort
> checking for GHC Git commit id... given
> 51abb1c88b53e2989a2a8c2939ac4abc04bef194
> checking for ghc... /usr/bin/ghc
> checking version of ghc... 7.10.3
> configure: error: GHC version 8.0 or later is required to compile GHC.
>
> Did cabal update
>
> and tried haskell-platform for ubuntu
> https://www.haskell.org/platform/linux.html#linux-ubuntu
>
> which seems broken
>
> Tried Haskell-platform from source:
>
> ./platform.sh
> ***
> *** Building hptool
> ***
> cabal: unrecognised command: new-build (try --help)
>
>
> Any help?
>
> Cheers,
> Andreas
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>


-- 
Jeff Brown | Jeffrey Benjamin Brown
Website <https://msu.edu/~brown202/>   |   Facebook
<https://www.facebook.com/mejeff.younotjeff>   |   LinkedIn
<https://www.linkedin.com/in/jeffreybenjaminbrown>(spammy, so I often miss
messages here)   |   Github <https://github.com/jeffreybenjaminbrown>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20180604/c4774617/attachment-0001.html>


More information about the Beginners mailing list