Skip to content

Instantly share code, notes, and snippets.

@techgaun
Last active May 19, 2019 06:36
Show Gist options
  • Save techgaun/2792bee5e42840c65f2ff36cfd436f03 to your computer and use it in GitHub Desktop.
Save techgaun/2792bee5e42840c65f2ff36cfd436f03 to your computer and use it in GitHub Desktop.

Revisions

  1. techgaun revised this gist Jan 6, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions erlang-19-elixir.1.3-raspberry-pi.md
    Original file line number Diff line number Diff line change
    @@ -23,4 +23,6 @@ extract Precompiled.zip
    echo "export PATH=\$PATH:/opt/elixir/bin" > /etc/profile.d/elixir.sh
    chmod +x /etc/profile.d/elixir.sh
    source /etc/profile.d/elixir.sh

    # or add to ~/.bashrc
    ```
  2. techgaun revised this gist Jan 6, 2017. 1 changed file with 14 additions and 0 deletions.
    14 changes: 14 additions & 0 deletions erlang-19-elixir.1.3-raspberry-pi.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    This has been tested on Raspbian

    ### Install Erlang 19.2

    ```shell
    apt-get install -y libssl-dev ncurses-dev
    wget http://www.erlang.org/download/otp_src_19.2.tar.gz
    @@ -9,4 +11,16 @@ cd otp_src_19.2
    ./configure
    make
    make install
    ```

    ### Install Elixir 1.4.0

    ```shell
    cd /opt
    wget "https://github.com/elixir-lang/elixir/releases/download/v1.4.0/Precompiled.zip"
    mkdir elixir && mv Precompiled.zip elixir/ && cd elixir
    extract Precompiled.zip
    echo "export PATH=\$PATH:/opt/elixir/bin" > /etc/profile.d/elixir.sh
    chmod +x /etc/profile.d/elixir.sh
    source /etc/profile.d/elixir.sh
    ```
  3. techgaun created this gist Jan 6, 2017.
    12 changes: 12 additions & 0 deletions erlang-19-elixir.1.3-raspberry-pi.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    This has been tested on Raspbian

    ```shell
    apt-get install -y libssl-dev ncurses-dev
    wget http://www.erlang.org/download/otp_src_19.2.tar.gz
    wget -q -O - https://raw.githubusercontent.com/techgaun/extract/master/extract >> ~/.bashrc # I already had [this](https://github.com/techgaun/extract)
    extract otp_src_19.2.tar.gz
    cd otp_src_19.2
    ./configure
    make
    make install
    ```