linux Ubuntu 

How to install Erlang/OTP on Ubuntu 22.04|20.04|18.04 LTS

Erlang is a general-purpose or you might say a functional programming language and runtime environment. It was built in such a way that it had inherent support for concurrency, distribution, and fault tolerance. Erlang was originally developed to be used in several large telecommunication systems. But it has now slowly made its foray into diverse sectors like eCommerce, computer telephony, and banking sectors as well.

Step1: Get Erlang GPG Key

Run the below commands in the terminal to import Erlang repository GPG key:

sudo apt update
sudo apt install software-properties-common apt-transport-https
wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add -

Step 2: Add Erlang Repository

Ubuntu 22.04/20.04:

echo "deb https://packages.erlang-solutions.com/ubuntu focal contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list

Ubuntu 18.04 :

echo "deb https://packages.erlang-solutions.com/ubuntu bionic contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list

Step 3: Install Erlang

Before installing use ubuntu update and install.

sudo apt update
sudo apt install erlang

Final step: Check erlang installation

Just type below command “erl

Also Read:  How to install Jenkins in Ubuntu/Linux

Related posts