Skip to content

Instantly share code, notes, and snippets.

@darrencauthon
Created August 28, 2014 14:27
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darrencauthon/85688316e2f555bce70c to your computer and use it in GitHub Desktop.
Save darrencauthon/85688316e2f555bce70c to your computer and use it in GitHub Desktop.
Install Elixir v0.14.2
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
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