Last active
December 21, 2015 15:58
-
-
Save hamann/2a9f9fa43cf39da18928 to your computer and use it in GitHub Desktop.
Install haskell 7.10.2 and elm 0.16 on debian wheezy
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
sudo apt-get install build-essential ca-certificates | |
sudo apt-get install libgmp10 libgmp-dev libffi-dev zlib1g-dev libtinfo-dev | |
# ghc 7.10.2 | |
cd /var/tmp | |
wget http://downloads.haskell.org/~ghc/7.10.2/ghc-7.10.2-x86_64-unknown-linux-deb7.tar.xz | |
tar xvJf ghc-7.10.2-x86_64-unknown-linux-deb7.tar.xz | |
cd ghc-7.10.2 | |
./configure | |
sudo make install | |
# cabal 1.22.6 | |
cd /var/tmp | |
wget http://hackage.haskell.org/package/cabal-install-1.22.6.0/cabal-install-1.22.6.0.tar.gz | |
tar xvzf cabal-install-1.22.6.0.tar.gz | |
cd cabal-install-1.22.6.0 | |
sudo ./bootstrap.sh --global | |
# elm-platform | |
cd ~ | |
wget https://raw.githubusercontent.com/elm-lang/elm-platform/master/installers/BuildFromSource.hs | |
runhaskell BuildFromSource.hs 0.16 | |
export PATH=$PATH:$HOME/Elm-Platform/0.16/.cabal-sandbox/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment