Created
April 25, 2014 11:52
-
-
Save tfrisk-old/11286970 to your computer and use it in GitHub Desktop.
Install Erlang and Elixir on Debian Wheezy (7.4)
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
#!/bin/sh | |
# Debian has older Erlang package (R15) in official repositories, Elixir requires newer (R17) | |
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb | |
sudo dpkg -i erlang-solutions_1.0_all.deb | |
sudo apt-get update | |
sudo apt-get install -y erlang | |
rm erlang-solutions_1.0_all.deb | |
# compile Elixir from source | |
# http://elixir-lang.org/getting_started/1.html | |
git clone https://github.com/elixir-lang/elixir.git | |
cd elixir | |
git checkout stable | |
make clean test | |
# don't forget to add binary directory to PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment