Created
April 28, 2023 03:03
-
-
Save blackode/ed44b58147388aadeea792649f6e0997 to your computer and use it in GitHub Desktop.
Erlang older versions Installation process
This file contains hidden or 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/sh | |
git clone https://github.com/openssl/openssl.git --branch OpenSSL_1_0_2-stable | |
cd openssl | |
./config --prefix=$HOME/.openssl-1.0 shared -fPIC | |
make depend && make && make install | |
mkdir -p $HOME/.openssl-1.0 | |
cd $HOME/.openssl-1.0 | |
ln -sf /usr/lib/openssl-1.0 lib | |
ln -sf /usr/include/openssl-1.0 include | |
KERL_CONFIGURE_OPTIONS="--without-javac --disable-debug --with-ssl=$HOME/.openssl-1.0" | |
asdf install erlang $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
chmod +x install_erlang.sh
install_erlang.sh 19.3