Skip to content

Instantly share code, notes, and snippets.

@chrismccord
Forked from chaos-ad/install.sh
Created July 27, 2016 23:51
Show Gist options
  • Save chrismccord/af3db15e37135950eb0810a588d0c4e5 to your computer and use it in GitHub Desktop.
Save chrismccord/af3db15e37135950eb0810a588d0c4e5 to your computer and use it in GitHub Desktop.

Revisions

  1. @chaos-ad chaos-ad revised this gist Jan 23, 2013. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    #!/bin/bash
    # installing erlang on ubuntu's

    VERSION="R15B01"

    sudo apt-get install build-essential libncurses5-dev openssl libssl-dev

    sudo mkdir -p /opt/erlang/
    @@ -9,9 +11,9 @@ sudo mv kerl /opt/erlang/
    sudo ln -s /opt/erlang/kerl /usr/local/bin/kerl

    kerl update releases
    kerl build R15B02 R15B02
    sudo kerl install R15B02 /opt/erlang/R15B02
    sudo ln -s /opt/erlang/R15B02 /opt/erlang/current
    kerl build ${VERSION} ${VERSION}
    sudo kerl install ${VERSION} /opt/erlang/${VERSION}
    sudo ln -s /opt/erlang/${VERSION} /opt/erlang/current

    cd /usr/local/bin
    sudo find /opt/erlang/current/bin -exec ln -s '{}' \;
  2. @chaos-ad chaos-ad revised this gist Oct 11, 2012. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -9,9 +9,9 @@ sudo mv kerl /opt/erlang/
    sudo ln -s /opt/erlang/kerl /usr/local/bin/kerl

    kerl update releases
    kerl build R15B01 R15B01
    sudo kerl install R15B01 /opt/erlang/R15B01
    sudo ln -s /opt/erlang/R15B01 /opt/erlang/current
    kerl build R15B02 R15B02
    sudo kerl install R15B02 /opt/erlang/R15B02
    sudo ln -s /opt/erlang/R15B02 /opt/erlang/current

    cd /usr/local/bin
    sudo find /opt/erlang/current/bin -exec ln -s '{}' \;
  3. @chaos-ad chaos-ad created this gist Jun 13, 2012.
    17 changes: 17 additions & 0 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    #!/bin/bash
    # installing erlang on ubuntu's

    sudo apt-get install build-essential libncurses5-dev openssl libssl-dev

    sudo mkdir -p /opt/erlang/
    curl -O https://raw.github.com/spawngrid/kerl/master/kerl && chmod a+x kerl
    sudo mv kerl /opt/erlang/
    sudo ln -s /opt/erlang/kerl /usr/local/bin/kerl

    kerl update releases
    kerl build R15B01 R15B01
    sudo kerl install R15B01 /opt/erlang/R15B01
    sudo ln -s /opt/erlang/R15B01 /opt/erlang/current

    cd /usr/local/bin
    sudo find /opt/erlang/current/bin -exec ln -s '{}' \;