
I've found a Haskell setup guide here, but after the stack setup it wants to install cabal curl -sSL https://get.haskellstack.org | sh then stack install cabal-install cabal update Why do I want to install cabal after stack? Any advice welcome on the "definitive setup." Just started a new machine with Ubuntu 20.10 on it. LB

On Sat, 27 Mar 2021, Galaxy Being wrote:
Why do I want to install cabal after stack? Any advice welcome on the "definitive setup." Just started a new machine with Ubuntu 20.10 on it.
On Ubuntu you can just install $ sudo apt install ghc cabal-install or $ sudo apt install haskell-stack You may also add the repository $ sudo apt-add-repository ppa:hvr/ghc in order to get a wider range of versions of ghc and cabal-install.

Hmm. Already did the first part,i.e., curl -sSL https://get.haskellstack.org | sh Should I do the cabal install now? On Sat, Mar 27, 2021 at 6:08 PM Henning Thielemann < lemming@henning-thielemann.de> wrote:
On Sat, 27 Mar 2021, Galaxy Being wrote:
Why do I want to install cabal after stack? Any advice welcome on the "definitive setup." Just started a new machine with Ubuntu 20.10 on it.
On Ubuntu you can just install
$ sudo apt install ghc cabal-install
or
$ sudo apt install haskell-stack
You may also add the repository
$ sudo apt-add-repository ppa:hvr/ghc
in order to get a wider range of versions of ghc and cabal-install.

On Sat, 27 Mar 2021, Galaxy Being wrote:
Hmm. Already did the first part,i.e., curl -sSL https://get.haskellstack.org | sh Should I do the cabal install now?
If you use the Ubuntu packages you do not need to fetch 'stack' using 'curl'.

LB, I'd strongly recommend just going the route of sudo apt-add-repository ppa:hvr/ghc and installing whichever versions of cabal-install and ghc you want. It's simple and keeps your $HOME clean. Ivan On Sat, 27 Mar 2021 at 20:37, Henning Thielemann < lemming@henning-thielemann.de> wrote:
On Sat, 27 Mar 2021, Galaxy Being wrote:
Hmm. Already did the first part,i.e., curl -sSL https://get.haskellstack.org | sh Should I do the cabal install now?
If you use the Ubuntu packages you do not need to fetch 'stack' using 'curl'. _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
participants (3)
-
Galaxy Being
-
Henning Thielemann
-
Ivan Perez