Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 476
Jamie Tabone Avatar asked Nov 30 '14 17:11

Jamie Tabone


2 Answers

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

lsb_release -c 

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 
deb http://packages.erlang-solutions.com/ubuntu bionic contrib 

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

like image 109
Jamie Tabone Avatar answered Nov 07 '22 11:11

Jamie Tabone


You can use kerl to build/install distributions and easily switch between them.

like image 1
Łukasz Ptaszyński Avatar answered Nov 07 '22 10:11

Łukasz Ptaszyński