How to install elixir and erlang in RPI

The official guide in elixir site is not up-to-date.

Install Erlang (extract from https://elinux.org/Erlang)

sudo apt-get update
sudo apt-get install wget
sudo apt-get install libssl-dev
sudo apt-get install ncurses-dev
wget http://www.erlang.org/download/otp_src_24.0.tar.gz
tar -xzvf otp_src_24.0.tar.gz
cd otp_src_24.0/
./configure
make
sudo make install
cd ..
rm otp_src_24.0.tar.gz
sudo rm -R otp_src_24.0/

Install Elixir from source:

wget https://github.com/elixir-lang/elixir/archive/v1.12.3.tar.gz
tar -xvzf v1.12.3.tar.gz
make install

Please install elixir v1.11.x for phoenix 1.5.x

Refernece: https://github.com/elixir-lang/elixir-lang.github.com/issues/1510#issuecomment-830746952

--

--

Let's go invent tomorrow instead of worrying about what happened yesterday.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam00

Let's go invent tomorrow instead of worrying about what happened yesterday.