Created
June 20, 2014 00:50
-
-
Save iamdionysus/2395dda5437e865c477d to your computer and use it in GitHub Desktop.
Revisions
-
iamdionysus revised this gist
Jun 20, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ ### Add apt-repository, install ghc and cabal I used [this](https://launchpad.net/~hvr/+archive/ghc) repository. ```bash sudo add-apt-repository ppa:hvr/ghc sudo apt-get install ghc-7.8.3 -
iamdionysus revised this gist
Jun 20, 2014 . 1 changed file with 10 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,15 @@ I used [this](https://launchpad.net/~hvr/+archive/ghc) repository. And then, ```bash sudo add-apt-repository ppa:hvr/ghc sudo apt-get install ghc-7.8.3 sudo apt-get install cabal-install-1.20 ``` ### Add the bin directory to PATH The packages install into /opt/ghc/$VER and /opt/cabal/$VER respectively. If you use zsh, make sure to add to bash settings as well. In Emacs haskell-mode, when hasekll-interactive-bring command tries to load ghci, the PATH envrionment seems to be under bash. Save the settings and test. ```bash source .zshrc source .bashrc which ghci which cabal ``` -
iamdionysus revised this gist
Jun 20, 2014 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,8 @@ ### Add apt-repository, install ghc and cabal I used [this](https://launchpad.net/~hvr/+archive/ghc) repository. And then, ```bash sudo add-apt-repository ppa:hvr/ghc ``` ### -
iamdionysus revised this gist
Jun 20, 2014 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ ### Add apt-repository I used [this](https://launchpad.net/~hvr/+archive/ghc) repository. And then, ``` sudo add-apt-repository ppa:hvr/ghc ``` -
iamdionysus revised this gist
Jun 20, 2014 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ ### Add apt-repository I used [this](https://launchpad.net/~hvr/+archive/ghc) repository ```sudo add-apt-repository ppa:hvr/ghc``` -
iamdionysus revised this gist
Jun 20, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ### Add apt-repository I used [this](https://launchpad.net/~hvr/+archive/ghc) repository ```sudo add-apt-repository ppa:hvr/ghc``` -
iamdionysus revised this gist
Jun 20, 2014 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,4 @@ ## Add apt-repository I used [this](https://launchpad.net/~hvr/+archive/ghc) repository ```sudo add-apt-repository ppa:hvr/ghc``` -
iamdionysus created this gist
Jun 20, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ I used [this](https://launchpad.net/~hvr/+archive/ghc) ```sudo add-apt-repository ppa:hvr/ghc```