Last active
February 29, 2020 08:19
-
-
Save soruma/2b305e6aa6877802c02a1fdea7a77bea to your computer and use it in GitHub Desktop.
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
OTP_VERSION=22.2 | |
ELIXIR_VERSION=v1.10.2 | |
# Install required packages | |
sudo apt-get install git m4 libncurses5-dev libssl-dev | |
# Install OTP | |
wget http://erlang.org/download/otp_src_${OTP_VERSION}.tar.gz -O otp_src.tar.gz | |
mkdir otp_src; cd $_ | |
tar xzvf ../otp_src.tar.gz --strip=1 -C . | |
./configure --enable-hipe | |
make | |
sudo make install | |
cd ../ | |
# Install elixir | |
git clone https://github.com/elixir-lang/elixir.git | |
cd elixir/ | |
git checkout $ELIXIR_VERSION | |
make clean test | |
sudo make install | |
cd ../ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment