-
-
Save pkvk/1b9fdbf38055bced68bc97f5de8870b4 to your computer and use it in GitHub Desktop.
Install Haskell on Ubuntu 18.04
This file contains 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment