Created
September 25, 2018 16:11
-
-
Save arnabdas/ca5f01b39853dc057aad620f1356575e to your computer and use it in GitHub Desktop.
Install Haskell on Ubuntu 18.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
add-apt-repository -y ppa:hvr/ghc | |
apt-get install -y cabal-install-2.4 | |
apt install ghc-8.6 | |
curl -sSL https://get.haskellstack.org/ | sh | |
# to install intero, either install | |
apt-get install libncurses-dev | |
# or | |
apt-get install libtinfo-dev | |
PATH=~/.cabal/bin:/opt/cabal/2.4/bin:/opt/ghc/8.6.1/bin:~/.local/bin:$PATH | |
stack build intero |
Script did not finish: ./haskell-install.sh: line 17: stack: command not found
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sorry ,
after i compiled the codes how i will start the hakell program to start coding ??