Hexa's Blog

ASDF, Dependencies Installation for Erlang

27/12/2021 Linux

This script should be run before asdf erlang installation.

#!/usr/bin/zsh
sudo yum groupinstall -y 'Development Tools' 'C Development Tools and Libraries';
sudo yum install -y autoconf;
sudo yum install -y ncurses-devel;
sudo yum install -y wxGTK3-devel wxBase3;
sudo yum install -y openssl-devel;
sudo yum install -y java-1.8.0-openjdk-devel;
sudo yum install -y libiodbc unixODBC-devel.x86_64 erlang-odbc.x86_64;
sudo yum install -y libxslt fop;

After executing the script above, you can run asdf install erlang YOUR_ERLANG_VERSION without a missing erlang features.

[1] Example, asdf install erlang 22.3
[1] Example, asdf install erlang 22.3