Send Close Add comments: (status displays here)
Got it!  This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
Erlang


1. Erlang
Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability. Some of its uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance. From the Erlang web site at https://www.erlang.org/ .

2. CentOS installation
The following Linux command(s) to install Erlang.
sudo yum -y install erlang


3. Check the installed version
Erlang has no version command but displays the version on entering the interactive shell.

The following Linux command(s) to check the installed version of Erlang and remain in the interactive shell.
erl

On 2019-08-09 the output was as follows.
Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] Eshell V5.10.4 (abort with )

Press Ctrl-Z to exit the interactive shell.

Here is a way to start Erlang, print the version, and exit without being in the interactive shell and having to press Ctrl-Z.

The following Linux command(s) to check the installed version of Erlang and exit.
erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().'

On 2019-08-14 the output was as follows.
Erlang R16B03-1 (erts-5.10.4) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] "R16B03-1"