How to Upgrade the Erlang version on Ubuntu (R14B04 to latest stable version)?

Jamie Tabone picture Jamie Tabone · Nov 30, 2014 · Viewed 13.2k times · Source

How to Upgrade Erlang version on Ubuntu (R14B04 to latest stable version)?

Answer

Jamie Tabone picture Jamie Tabone · Nov 30, 2014

Add one of the following to the /etc/apt/sources.list file:

deb http://packages.erlang-solutions.com/ubuntu trusty contrib
deb http://packages.erlang-solutions.com/ubuntu saucy contrib
deb http://packages.erlang-solutions.com/ubuntu precise contrib 

Determine which one to add according to the result of running the following in the console:

lsb_release -c 

Run the following two commands, after successfully updating the /etc/apt/sources.list file:

wget http://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc
sudo apt-key add erlang_solutions.asc

Then run the following:

sudo apt-get update
sudo apt-get install erlang

Reference: https://www.erlang-solutions.com/resources/download.html