Skip to content

Instantly share code, notes, and snippets.

@themaxhero
Created February 8, 2022 09:00
Show Gist options
  • Save themaxhero/566dda46a40277501a9ca6cc54973ebc to your computer and use it in GitHub Desktop.
Save themaxhero/566dda46a40277501a9ca6cc54973ebc to your computer and use it in GitHub Desktop.
Script for Installing the latest version of erlang in Archlinux
#!/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