Skip to content

Instantly share code, notes, and snippets.

@pkvk
Forked from arnabdas/haskell-install.sh
Created November 23, 2018 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkvk/1b9fdbf38055bced68bc97f5de8870b4 to your computer and use it in GitHub Desktop.
Save pkvk/1b9fdbf38055bced68bc97f5de8870b4 to your computer and use it in GitHub Desktop.
Install Haskell on Ubuntu 18.04
#!/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