Created
December 29, 2016 04:18
-
-
Save sher/6aa6f0d930354ca89c07062161999d6a to your computer and use it in GitHub Desktop.
Install erlang and elixir on 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
yum update | |
yum install epel-release | |
yum install gcc gcc-c++ glibc-devel make ncurses-devel openssl-devel autoconf java-1.8.0-openjdk-devel git wget wxBase.x86_64 | |
wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm | |
rpm -Uvh erlang-solutions-1.0-1.noarch.rpm | |
yum update | |
yum install erlang | |
cd /usr/local/lib | |
git clone https://github.com/elixir-lang/elixir.git | |
cd elixir | |
make clean test | |
ln -s /usr/local/lib/elixir/bin/elixir /usr/local/bin/elixir | |
ln -s /usr/local/lib/elixir/bin/elixirc /usr/local/bin/elixirc | |
ln -s /usr/local/lib/elixir/bin/iex /usr/local/bin/iex | |
ln -s /usr/local/lib/elixir/bin/mix /usr/local/bin/mix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment