[Haskell-cafe] GHC 8.2.2 for WSL Ubuntu 16.04
Herbert Valerio Riedel
hvriedel at gmail.com
Tue Feb 13 13:35:10 UTC 2018
Even though WSL may eventually address this issue for good, I've setup
a new WSL-optimised flavour of my PPA for Ubuntu 16.04 LTS
I don't have experience myself with Ubuntu on WSL, but it should be
simply a matter of using
sudo add-apt-repository ppa:hvr/ghc-wsl
sudo apt-get update
sudo apt-get install ghc-8.2.2-prof cabal-install-head
Then simply add `/opt/ghc/bin` to your `$PATH` (see instructions at
There are also builds of GHC 8.0.2 and GHC 8.4.1-alpha (may still be
building as of writing) in this new ghc-for-wsl PPA.
I'd appreciate if somebody could test whether these GHC binaries work
as intended on the non-insider Windows 10 builds and let me know.
On Tue, Feb 13, 2018 at 12:21 PM, Yitzchak Gale <gale at sefer.org> wrote:
> I wrote:
>>> I have made available a build of GHC 8.2.2 with the config option:
>>>  https://github.com/Microsoft/WSL/issues/1671
> Shao Cheng wrote:
>> Thank you! A simpler fix for WSL ghc users is upgrading to fast ring of
>> insider builds, the mmap overhead is much lower and ghc startup lag is
>> barely noticable.
> Thanks, that's good news. I can't use an insider build - I need to be on
> standard Windows in order to support our customers. The latest reports
> in the GitHub issue seemed to indicate that the slowness is still quite
> significant even on insider builds. I'm glad to hear you say that this is no
> longer true. I am looking forward to regular GHC binary tarballs working
> normally on regular WSL sometime in the near future.
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
More information about the Haskell-Cafe