Forked from binarytemple-clients/install-elixir-centos-7.sh
Created
October 28, 2016 14:34
-
-
Save efrenfuentes/3a62dea940372209d80c2c8da6d7e344 to your computer and use it in GitHub Desktop.
install elixir centos 7
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
sudo yum -y install gcc gcc-c++ glibc-devel make ncurses-devel openssl-devel autoconf java-1.8.0-openjdk-devel git | |
sudo yum -y install wxBase.x86_64 | |
sudo yum -y install wget | |
wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm | |
sudo rpm -Uvh erlang-solutions-1.0-1.noarch.rpm | |
sudo yum -y install esl-erlang | |
sudo mkdir /opt/elixir | |
sudo git clone https://github.com/elixir-lang/elixir.git /opt/elixir | |
cd /opt/elixir | |
sudo make clean test | |
sudo ln -s /opt/elixir/bin/iex /usr/local/bin/iex | |
sudo ln -s /opt/elixir/bin/mix /usr/local/bin/mix | |
sudo ln -s /opt/elixir/bin/elixir /usr/local/bin/elixir | |
sudo ln -s /opt/elixir/bin/elixirc /usr/local/bin/elixirc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment