Help us understand the problem. What is going on with this article?

CentOS6 に Erlang / Elixir のインストール

More than 3 years have passed since last update.

ただインストールしただけのメモ

Erlang のインストール

https://www.erlang-solutions.com/downloads/download-erlang-otp から CentOS6 用の rpm をダウンロードしてインストールする。と言いたいところだが、gtk などの依存 rpm が解決できなくて面倒になったので、ソースからビルドした。

sudo yum install gcc glibc-devel make ncurses-devel openssl-devel autoconf

現在の最新 v18.0 の場合

wget http://www.erlang.org/download/otp_src_18.0.tar.gz
tar zxvf otp_src_18.0.tar.gz
cd otp_src_18.0
./configure
make
sudo make install

動作確認

erl

Elixir のインストール

https://github.com/elixir-lang/elixir/releases/ から Precompiled.zip を取得して、展開してパスを通す

現在の最新 v1.0.5 の場合

wget https://github.com/elixir-lang/elixir/releases/download/v1.0.5/Precompiled.zip
sudo unzip Precompiled.zip -d /opt/elixir
export PATH=/opt/elixir/bin:$PATH

確認

iex
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away