Skip to content
komar edited this page Apr 21, 2017 · 3 revisions

Table of Contents

Installation developer tools

Debian

1. Adding repository entry

To add Erlang Solutions repository (including our public key for apt-secure) to your system, call the following commands:

wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb

Alternatively: adding the repository entry manually

Add one of the following lines to your /etc/apt/sources.list (according to your distribution):

deb https://packages.erlang-solutions.com/debian jessie contrib

Next, add the Erlang Solutions public key for apt-secure using following commands:

wget https://packages.erlang-solutions.com/debian/erlang_solutions.asc
sudo apt-key add erlang_solutions.asc

2. Installing Erlang

sudo apt-get update
sudo apt-get install esl-erlang

Install additional software for building and deploy:

sudo apt-get install rebar ash curl

Ubuntu 16.04 Xenial

Download pre-built binary package of erlang version 18.3 for your OS:

sudo dpkg -i esl-erlang_18.3-1\~ubuntu\~xenial_amd64.deb
In case of unmet dependencies run
sudo apt-get install -f
sudo dpkg -i esl-erlang_18.3-1\~ubuntu\~xenial_amd64.deb

Install additional software for building and deploy:

sudo apt-get install rebar ash curl

Build

clone EviNS source code from Github and compile the framework:

git clone https://github.com/okebkal/evins.git 
cd evins
make

run evins:

> _rel/evins/bin/evins console
...
Erlang/OTP 18 [erts-7.3] [source-d2a6d81] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]

 =ERROR REPORT==== 23-Aug-2016::17:06:24 ===
    {file,fsm_watch,95}
    "Read/access error"
    "/usr/local/etc/fsm.conf"
    enoent
Eshell V7.3  (abort with ^G)
(evins@127.0.0.1)1>