From SME Server

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

For SME 9.x

db yum_repositories set erlang repository Name "erlang" \
BaseURL "\$releasever/\$basearch" \
EnableGroups no \
GPGCheck yes \
GPGKey \
Visible yes \
status disabled

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

signal-event yum-modify


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