|
7 | 7 | IRuby is a Ruby kernel for [Jupyter project](http://try.jupyter.org/). |
8 | 8 |
|
9 | 9 | ## Installation |
10 | | -How to set up [ZeroMQ](http://zeromq.org/) depends on your environment. |
11 | | -You can use one of the following libraries. |
12 | | -* [ffi-rzmq](https://github.com/chuckremes/ffi-rzmq) and [libzmq](https://github.com/zeromq/libzmq) >= 3.2 |
13 | | -* [CZTop](https://gitlab.com/paddor/cztop) and [CZMQ](https://github.com/zeromq/czmq) >= 4.0.0 |
| 10 | + |
| 11 | +### Requirements |
| 12 | +* [Jupyter](https://jupyter.org) |
| 13 | +* One of the following is required |
| 14 | + * [ffi-rzmq](https://github.com/chuckremes/ffi-rzmq) and [libzmq](https://github.com/zeromq/libzmq) |
| 15 | + * [CZTop](https://gitlab.com/paddor/cztop) and [CZMQ](https://github.com/zeromq/czmq) |
14 | 16 |
|
15 | 17 | We recommend the [Pry](https://github.com/pry/pry) backend for full functionality. |
16 | 18 |
|
17 | 19 | ### Ubuntu |
18 | 20 | Install Jupyter with [Anaconda](https://www.anaconda.com/) (recommended). |
19 | 21 |
|
20 | | -#### Setup ZeroMQ on Ubuntu 16.04 |
21 | | -CZTop requires CZMQ >= 4.0.0 and ZMQ >= 4.2.0. The official packages for Ubuntu 16.04 don't satisfy these version requrements, so you need to install from source. |
| 22 | +#### 17.04 to 19.04 |
22 | 23 |
|
23 | 24 | ```shell |
24 | 25 | sudo apt install libtool libffi-dev ruby ruby-dev make |
25 | | -sudo apt install git libzmq-dev autoconf pkg-config |
26 | | -git clone https://github.com/zeromq/czmq |
27 | | -cd czmq |
28 | | -./autogen.sh && ./configure && sudo make && sudo make install |
| 26 | +sudo apt install libzmq3-dev libczmq-dev |
29 | 27 |
|
30 | | -gem install cztop |
| 28 | +gem install ffi-rzmq |
31 | 29 | gem install iruby --pre |
32 | 30 | iruby register --force |
33 | 31 | ``` |
34 | 32 |
|
35 | | -#### Setup ZeroMQ on Ubuntu 17.04 to 18.10 |
36 | | -Use official packages. |
| 33 | +#### 16.04 |
| 34 | +CZTop requires CZMQ >= 4.0.0 and ZMQ >= 4.2.0. The official packages for Ubuntu 16.04 don't satisfy these version requrements, so you need to install from source. |
37 | 35 |
|
38 | 36 | ```shell |
39 | 37 | sudo apt install libtool libffi-dev ruby ruby-dev make |
40 | | -sudo apt install libzmq3-dev libczmq-dev |
| 38 | +sudo apt install git libzmq-dev autoconf pkg-config |
| 39 | +git clone https://github.com/zeromq/czmq |
| 40 | +cd czmq |
| 41 | +./autogen.sh && ./configure && sudo make && sudo make install |
41 | 42 |
|
42 | | -gem install ffi-rzmq |
| 43 | +gem install cztop |
43 | 44 | gem install iruby --pre |
44 | 45 | iruby register --force |
45 | 46 | ``` |
|
0 commit comments