Erlang

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. You can help by expanding it.

Erlang is a concurrent, functional language, adapted to writing distributed, fault tolerant systems.

Installation

USE flags

USE flags for dev-lang/erlang Erlang programming language, runtime environment and libraries (OTP)

doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
emacs Add support for GNU Emacs
java Add support for Java
kpoll Enable kernel polling support
odbc Add ODBC Support (Open DataBase Connectivity)
sctp Support for Stream Control Transmission Protocol
ssl Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
systemd Enable use of systemd-specific libraries and features like socket activation or session tracking
tk Add support for Tk GUI toolkit
wxwidgets Add support for wxWidgets/wxGTK GUI toolkit

Emerge

Install:

root #emerge --ask dev-lang/erlang

Usage

Invocation

user $erl
Erlang/OTP 24 [erts-12.0.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit]

Eshell V12.0.2  (abort with ^G)
1> 

To exit the shell: Ctrl+g then q and Return.