Created
February 8, 2022 09:00
-
-
Save themaxhero/566dda46a40277501a9ca6cc54973ebc to your computer and use it in GitHub Desktop.
Script for Installing the latest version of erlang in Archlinux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo pacman -S openssl-1.0 | |
asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang | |
mkdir ~/.openssl-1.0 | |
cd ~/.openssl-1.0 | |
ln -s /usr/include/openssl-1.0 include | |
ln -s /usr/lib/openssl-1.0 lib | |
export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac" | |
export ERLANG_OPENSSL_PATH=~/.openssl-1.0 | |
asdf install erlang latest | |
asdf global erlang \$(asdf list erlang) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment