Erlang/OTP 21 is a new major release with new features, improvements as well as incompatibilities.
Potential Incompatibilities
Highlights Erts:
os:getenv/putenv
now work on thread-safe emulation. No longer in sync with libc getenv(3)
. Manual synchronization will be needed.Compiler:
f({ok, Val}) -> {ok, Val}
is now automatically rewritten to f({ok, Val} = Tuple) -> Tuple
. this reduces code size, execution time, and removed GC pressure.OTP_RELEASE
and preprocessor directives -if
and -elif
Security:
Standard libraries:
lists:search(list,fun/1) -> {ok, Value} | false
For more details see http://erlang.org/download/otp_src_21.0.readme
Pre built versions for Windows can be fetched here: http://erlang.org/download/otp_win32_21.0.exe http://erlang.org/download/otp_win64_21.0.exe
Online documentation can be browsed here: http://erlang.org/documentation/doc-10.0/doc
OTP-21.0.README file (131865 bytes)
otp_doc_html_21.0.tar.gz file (32501093 bytes)
otp_doc_man_21.0.tar.gz file (1311959 bytes)
otp_src_21.0.tar.gz file (84146631 bytes)
otp_win32_21.0.exe file (89473497 bytes)
otp_win64_21.0.exe file (91727413 bytes)
You can build Erlang from source on your own, following the building and installation instructions. Or use the Kerl script. Kerl is a script that lets you easily build Erlang with a few commands. Follow the instructions to build.
Information about all released OTP versions since OTP 17.0 can be found at the OTP Versions Tree page. This information includes a link to the GitHub source tag, and a link to the README. As of OTP 23, Windows binaries can also be downloaded from here for all patches.
Most OS package managers provide pre-built binary packages. You can also download the latest stable releases from Erlang Solutions. Erlang Solutions provides pre-built binary packages for OS X, Windows, Ubuntu, Debian, Fedora, CentOS, Raspbian and other operating systems.
Since OTP 18.0, Erlang/OTP is released under Apache License 2.0. The older releases prior to 18.0 were released under Erlang Public License (EPL), a derivative work of the Mozilla Public License (MPL).
PDF files are included in the Windows installer and in the HTML documentation tarballs, starting with theR13B03 release.
There is a file containing MD5 checksumsfor all files in the download directory, also reachable through rsync rsync.erlang.org::erlang-download