From 8e800d9f0fd797ab510ce19214ab4cfed224fdd2 Mon Sep 17 00:00:00 2001 From: Jean Niklas L'orange Date: Mon, 23 Jun 2014 22:19:35 +0200 Subject: [PATCH] Add in Debian installation steps. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 8b53b6e..ad1066a 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,17 @@ Specifically: Then add `~/.cabal/bin:/opt/cabal/1.20/bin:/opt/ghc/7.8.2/bin:/opt/happy/1.19.3/bin:/opt/alex/3.1.3/bin` to your PATH (bash_profile, zshrc, bashrc, etc) + +### Debian + +Debian can follow the same steps as Ubuntu, but has to execute an additional command. Immediately after `sudo add-apt-repository -y ppa:hvr/ghc` is ran, run: + +- `sudo sed -i s/wheezy/trusty/g /etc/apt/sources.list.d/hvr-ghc-wheezy.list` + +For other Debian versions, just replace all occurences of "wheezy" with your version name in the command above. + +If, for some reason, the file `/etc/apt/sources.list.d/hvr-ghc-wheezy.list` does not exist, try the same command but with `/etc/apt/sources.list` instead. + ### Arch Linux To install Haskell from the official repos on Arch Linux