Install Erlang Using Repository on Ubuntu

Install Erlang on Ubuntu

1. Adding Repository Entry
To add Erlang repository to your system, pls call the following commands:

1
2
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb

Or Adding the Repository Entry Manually
Add one of the following lines to your /etc/apt/sources.list:

1
2
3
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

And next, add the Erlang public key for apt-secure using following commands:

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

2. Install Erlang
To install Erlang to your system, pls call the following commands:

1
2
sudo apt-get update
sudo apt-get install erlang

So far so good, hope you enjoyed the article. see ya! :)