Created
August 28, 2014 14:27
-
-
Save darrencauthon/85688316e2f555bce70c to your computer and use it in GitHub Desktop.
Install Elixir v0.14.2
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
apt-get -y install build-essential m4 libncurses5-dev libssh-dev unixodbc-dev libgmp3-dev libwxgtk2.8-dev libglu1-mesa-dev fop xsltproc default-jdk | |
apt-get -y install make | |
apt-get -y install libncurses5-dev | |
mkdir -p /src/erlang | |
cd /src/erlang | |
wget http://www.erlang.org/download/otp_src_17.0.tar.gz | |
tar -xvzf otp_src_17.0.tar.gz | |
chmod -R 777 otp_src_17.0 | |
cd otp_src_17.0 | |
./configure | |
make | |
make install |
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
apt-get -y install zip git | |
cd ~ | |
git clone git://github.com/mururu/exenv.git .exenv | |
echo 'export PATH="$HOME/.exenv/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(exenv init -)"' >> ~/.bash_profile | |
wget https://github.com/elixir-lang/elixir/releases/download/v0.14.2/Precompiled.zip | |
unzip Precompiled.zip -d v0.14.2 | |
mkdir .exenv/versions | |
mv v0.14.2 ~/.exenv/versions/0.14.2 | |
source ~/.bash_profile | |
exenv rehash | |
exenv global 0.14.2 | |
exenv rehash | |
source ~/.bash_profile | |
rm ~/Precompiled.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment