Erlang R24 is out! …but there are, as usual with a version X.0 release, a few rough edges (enough of them around the important-but-annoying WX and OpenGL updates that I’ll be writing another post about that shortly…).
In the meantime, R220.127.116.11 is excellent and quite reliable. The steps for building with kerl are nearly identical as for R22, but it is worth re-posting them with the relevant version updates (or if you like the video version, Dr. Kumar made a few demonstrating his home Erlang + ZX build). Also, if you’re in a part of the world where erlang.org’s docs are occasionally really really sloooooooowwww don’t forget the R23 docs mirror (or my Erlang page with linky links to everything).
sudo apt update
sudo apt upgrade
sudo apt install \
gcc curl g++ dpkg-dev build-essential automake autoconf \
libncurses5-dev libssl-dev flex xsltproc libwxgtk3.0-dev \
wget vim git
mkdir vcs bin
git clone https://github.com/kerl/kerl.git
ln -s ~/vcs/kerl/kerl bin/kerl
kerl update releases
kerl build 18.104.22.168 22.214.171.124
kerl install 126.96.36.199 ~/.erts/188.8.131.52
echo '. "$HOME"/.erts/184.108.40.206/activate' >> .bashrc
wget -q https://zxq9.com/projects/zomp/get_zx && bash get_zx
As usual, the
~/vcs/ directory is just my convention for version-controlled code that my
$HOME sync scripts know to ignore, and you might want to install Erlang to some place global on your system like
/opt/erts/ or whatever. The steps above work without root privileges with the exception of the apt commands. Remember if you are on Devuan or Debian that you need to perform the
sudo commands actually as
root unless you configure sudo on your system, then the rest as your normal local user account.