From 6b12b85f774c7b5b56d87e72cbadc93696fe0150 Mon Sep 17 00:00:00 2001 From: Jean Niklas L'orange Date: Wed, 17 Sep 2014 22:57:23 +0200 Subject: [PATCH] Update debian steps. --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5a27328..63869cb 100644 --- a/README.md +++ b/README.md @@ -55,11 +55,18 @@ If you use debian stable, it is easier to use this: http://deb.haskell.org/. Aft #### Using Ubuntu PPA If you're not using stable, you 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` +- `sudo sed -i s/jessie/trusty/g /etc/apt/sources.list.d/hvr-ghc-jessie.list` -For other Debian versions, just replace all occurences of "wheezy" with your version name in the command above. +For other Debian versions, just replace all occurences of "jessie" 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. +If, for some reason, the file `/etc/apt/sources.list.d/hvr-ghc-jessie.list` does +not exist, then `/etc/apt/sources.list` should contain a line like this: + +``` +deb http://ppa.launchpad.net/hvr/ghc/ubuntu jessie main +``` + +Replace "jessie" with "trusty" in this line. #### Manual compilation You can follow the guide written for Mac OS X: http://www.davesquared.net/2014/05/platformless-haskell.html. Notes: