Skip to content

Commit 55dacbd

Browse files
committed
Add explanations for Ubuntu 17.04
[ci skip] [fix #131]
1 parent 31045bb commit 55dacbd

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

README.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,33 @@ This is a Ruby kernel for Jupyter and is part of [SciRuby](http://sciruby.com/).
77
## Quick start
88
The installation instructions are divided according to environments mainly because of ZeroMQ.
99

10-
### Ubuntu 16.04
10+
### Ubuntu
1111
At first install Jupyter. I recommend an installation using [Anaconda](https://www.continuum.io/downloads) Python 3.6 version.
1212

13-
After that, install the Ruby gem.
13+
#### Preparing dependencies on 16.04
14+
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.
1415

1516
```shell
1617
sudo apt install libtool libffi-dev ruby ruby-dev make
17-
gem install cztop
18-
1918
sudo apt install git libzmq-dev autoconf pkg-config
2019
git clone https://github.com/zeromq/czmq
2120
cd czmq
2221
./autogen.sh && ./configure && sudo make && sudo make install
22+
```
2323

24-
gem install iruby
24+
#### Preparing dependencies on 17.04
25+
In 17.04, you can use official packages.
26+
27+
```shell
28+
sudo apt install libtool libffi-dev ruby ruby-dev make
29+
sudo apt install libzmq3-dev libczmq-dev
30+
```
31+
32+
#### Version-independent things
33+
After preparing dependencies, install the Ruby gem.
34+
35+
```shell
36+
gem install cztop iruby
2537
iruby register --force
2638
```
2739

0 commit comments

Comments
 (0)