Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Programming»How To Install Erlang on Fedora 35/34/33

    How To Install Erlang on Fedora 35/34/33

    RahulBy RahulNovember 25, 20182 Mins ReadUpdated:April 18, 2022

    Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability. Erlang runtime system has built-in support for concurrency, distribution and fault tolerance.

    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.

    sudo dnf install erlang 
    

    Step 2 – Check Erlang Version

    Type erl on the terminal. This will open the Erlang shell and show you the version.

    erl  
    
    Output
    Erlang/OTP 23 [erts-11.2.2.2] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1] [hipe]
    
    Eshell V11.2.2.2  (abort with ^G)
    

    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.

    nano helloworld.erl 
    

    add the following contnet.

    helloworld.erl
    % hello world program -module(helloworld). -export([start/0]). start() -> io:fwrite("Hello World!\n").

    Now compile the hello world program using below command.

    erlc helloworld.erl 
    

    The above command will create a file helloworld.beam in the current directory. You can run your program now.

    erl -noshell -s helloworld start -s init stop 
    
    Hello World!
    

    Reference:
    https://packages.erlang-solutions.com/erlang/

    erlang fedora
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Setup Squid Proxy Server on Ubuntu 18.04 & 16.04
    Next Article 5 Ways to Boost Visitor Retention on Your Website

    Related Posts

    How to Install JAVA on Ubuntu 22.04

    Updated:May 16, 20224 Mins Read

    How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04

    Updated:May 9, 20223 Mins Read

    How To Install Node.js on Ubuntu 22.04

    Updated:April 16, 20223 Mins Read

    How To Install NVM on Ubuntu 22.04

    Updated:April 16, 20223 Mins Read

    How To Install Linux, Nginx, MySQL, & PHP (LEMP Stack) on Ubuntu 22.04

    Updated:April 7, 20227 Mins Read

    Java HashMap – How to Get Value from Key

    Updated:April 6, 20222 Mins Read

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Install Sublime Text 4 on Ubuntu 22.04
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.