Erl Installation On A Debian, Ubuntu, Arch, Kali, Fedora And Raspbian

Erl Installation On A Debian, Ubuntu, Arch, Kali, Fedora And Raspbian

erl

Run and manage programs in the Erlang programming language.

Maintainer: Debian Erlang Packagers



Section: interpreters

Install erl

  • Debian apt-get install erlang-base Click to copy
  • Ubuntu apt-get install erlang-base Click to copy
  • Arch Linux pacman -S erlang-base Click to copy
  • Kali Linux apt-get install erlang-base Click to copy
  • Fedora dnf install erlang-base Click to copy
  • Raspbian apt-get install erlang-base Click to copy

Run and manage programs in the Erlang programming language.

How to use erl?

Below are few example commands for erl that you can use in the terminal.

Compile and run sequential Erlang program as a common script and then exit:
erlc files && erl -noshell 'mymodule:myfunction(arguments), init:stop().'Click to copy
Connect to a running Erlang node:
erl -remsh [email protected] -sname custom_shortname -hidden -setcookie cookie_of_remote_nodeClick to copy
Tell the Erlang shell to load modules from a directory:
erl -pa directory_with_beam_filesClick to copy
Installing erl command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of erl 2024 package in your OS.