Installing Erlang language on a linux machine is pretty easy. This is true for the Fedora distribution as well. To install the language and all it's libraries we just install the pre-built erlang binary package by opening the terminal and write:
sudo dnf install erlang
Type in your sudo password and confirm the installation with Yes. After everything was installed correctly your terminal/console should end up with the Complete! statement.
To test if our fresh installation of Erlang works we can launch the interactive shell, called Eshell:
If this works, Erlang was installed and is ready o use. You can leave the shell by using Ctrl + c twice.
By launching the Eshell you will see the installed version at the very beginning of the "Welcome" message, in my case it looks like this:
Erlang/OTP 18 [erts-126.96.36.199] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] ``` This tells us that we have Elang/OTP version 18 installed. With a bit more effort you can find out the installed version by typing in: ```bash erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell
I hope you find this short tutorial helpful. If you have any questions or comment please use the section below to leave a note or ping me on Twitter.