user1068: I just installed Ubuntu on WSL for Windows 10 in order to get ready for the Marlowe Pioneers Program. I figure I will need to install GHC and Cabal next in order to install the Cardano-CLI and Marlowe-CLI.
Can someone please tell me the best way to install GHC and Cabal on WSL/Ubuntu?
Much Thanks

user7146: You will likely want to use wsl2 on windows, if you aren't already, as you will have build issues.
https://winaero.com/set-linux-distro-version-to-wsl-1-or-wsl-2-in-windows-10/

user7097: The recommended way to install Haskell on Linux is by using GHCUP. Using apt may install an old version of GHC.
Simply enter the following command on your WSL terminal:
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh

It depends on your use case. If you would like to develop using Haskell, I would recommend installing Stack too. Note that you should not install the Haskell Language Server if you plan on using VS Code. VS Code will download it for you, depending on your GHC version.

1068: <p>I just installed Ubuntu on WSL for Windows 10 in order to get ready for the Marlowe Pioneers Program. I figure I will need to install GHC and Cabal next in order to install the Cardano-CLI and Marlowe-CLI.</p>
<p>Can someone please tell me the best way to install GHC and Cabal on WSL/Ubuntu?
Much Thanks</p>
 7146: <p>You will likely want to use wsl2 on windows, if you aren't already, as you will have build issues.</p>
<p><a href="https://winaero.com/set-linux-distro-version-to-wsl-1-or-wsl-2-in-windows-10/" rel="nofollow noreferrer">https://winaero.com/set-linux-distro-version-to-wsl-1-or-wsl-2-in-windows-10/</a></p>
 7097: <p>The recommended way to install Haskell on Linux is by using GHCUP. Using <code>apt</code> may install an old version of GHC.</p>
<p>Simply enter the following command on your WSL terminal:</p>
<pre><code>curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
</code></pre>
<p>It depends on your use case. If you would like to develop using Haskell, I would recommend installing Stack too. Note that you should not install the Haskell Language Server if you plan on using VS Code. VS Code will download it for you, depending on your GHC version.</p>
