Skip to content

Instantly share code, notes, and snippets.

@sher
Created December 29, 2016 04:18
Show Gist options
  • Save sher/6aa6f0d930354ca89c07062161999d6a to your computer and use it in GitHub Desktop.
Save sher/6aa6f0d930354ca89c07062161999d6a to your computer and use it in GitHub Desktop.
Install erlang and elixir on CentOS 7
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