Erlang

From SME Server
Jump to navigationJump to search

Erlang is a programming language. It is specifically used for ejabberd.


For SME 9.x

db yum_repositories set erlang repository Name "erlang" \
BaseURL "http://packages.erlang-solutions.com/rpm/centos/\$releasever/\$basearch" \
EnableGroups no \
GPGCheck yes \
GPGKey http://packages.erlang-solutions.com/rpm/erlang_solutions.asc \
Visible yes \
status disabled


After adding it to the database updating the configuration file is required by issueing:

signal-event yum-modify


Usage

yum install erlang --enablerepo=erlang # installs all of erlang
yum install erlang-hipe --enablerepo=erlang # installs high performance erlang

and to install a specific version:

yum install erlang-R16B02-0.1.el6.x86_64 --enablerepo=erlang