This tutorial will help you to install erlang on Fedora Linux systems.
Step 1 – Install Erlang on Fedora
Erlang is available under the default repositories. You can simply install the erlang package on your system and run running the following command. This will install other required libraries as well.
Step 2 – Check Erlang Version
Type erl on the terminal. This will open the Erlang shell and show you the version. Press CTRL + C twice to exit from the Erlang shell.
Step 3 – Erlang Hello World Program
Let’s start with hello world program on erlang. First create file helloworld.erl with following content. add the following contnet. Now compile the hello world program using below command. The above command will create a file helloworld.beam in the current directory. You can run your program now. Reference: https://packages.erlang-solutions.com/erlang/