Skip to content

Instantly share code, notes, and snippets.

@iamdionysus
Created June 20, 2014 00:50
Show Gist options
  • Select an option

  • Save iamdionysus/2395dda5437e865c477d to your computer and use it in GitHub Desktop.

Select an option

Save iamdionysus/2395dda5437e865c477d to your computer and use it in GitHub Desktop.

Revisions

  1. iamdionysus revised this gist Jun 20, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-recent-ghc.md
    Original 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. And then,
    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
  2. iamdionysus revised this gist Jun 20, 2014. 1 changed file with 10 additions and 2 deletions.
    12 changes: 10 additions & 2 deletions install-recent-ghc.md
    Original 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
    ```
  3. iamdionysus revised this gist Jun 20, 2014. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions install-recent-ghc.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    ### Add apt-repository
    ### 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

    ```

    ###
  4. iamdionysus revised this gist Jun 20, 2014. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions install-recent-ghc.md
    Original 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

    ```sudo add-apt-repository ppa:hvr/ghc```
    I used [this](https://launchpad.net/~hvr/+archive/ghc) repository. And then,
    ```
    sudo add-apt-repository ppa:hvr/ghc
    ```

  5. iamdionysus revised this gist Jun 20, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions install-recent-ghc.md
    Original 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```

  6. iamdionysus revised this gist Jun 20, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-recent-ghc.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ## Add apt-repository
    ### Add apt-repository
    I used [this](https://launchpad.net/~hvr/+archive/ghc) repository
    ```sudo add-apt-repository ppa:hvr/ghc```

  7. iamdionysus revised this gist Jun 20, 2014. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions install-recent-ghc.md
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,4 @@
    I used [this](https://launchpad.net/~hvr/+archive/ghc)
    ```sudo add-apt-repository ppa:hvr/ghc```
    ## Add apt-repository
    I used [this](https://launchpad.net/~hvr/+archive/ghc) repository
    ```sudo add-apt-repository ppa:hvr/ghc```

  8. iamdionysus created this gist Jun 20, 2014.
    2 changes: 2 additions & 0 deletions install-recent-ghc.md
    Original 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```