From d3ceb1300aa29993b99f6fd5b9e8ba315491fe20 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Thu, 10 Oct 2019 18:43:40 +0900 Subject: [PATCH 1/3] Update README Ubuntu version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4ca5f37..163506c 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ gem install iruby --pre iruby register --force ``` -#### Setup ZeroMQ on Ubuntu 17.04 to 18.10 +#### Setup ZeroMQ on Ubuntu 17.04 to 19.04 Use official packages. ```shell From d77347816b83d64e7eed0d449ee840673a701b00 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Thu, 10 Oct 2019 19:20:04 +0900 Subject: [PATCH 2/3] Add Requirements to README --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 163506c..14469f7 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,12 @@ IRuby is a Ruby kernel for [Jupyter project](http://try.jupyter.org/). ## Installation -How to set up [ZeroMQ](http://zeromq.org/) depends on your environment. -You can use one of the following libraries. -* [ffi-rzmq](https://github.com/chuckremes/ffi-rzmq) and [libzmq](https://github.com/zeromq/libzmq) >= 3.2 -* [CZTop](https://gitlab.com/paddor/cztop) and [CZMQ](https://github.com/zeromq/czmq) >= 4.0.0 + +### Requirements +* [Jupyter](https://jupyter.org) +* One of the following is required + * [ffi-rzmq](https://github.com/chuckremes/ffi-rzmq) and [libzmq](https://github.com/zeromq/libzmq) + * [CZTop](https://gitlab.com/paddor/cztop) and [CZMQ](https://github.com/zeromq/czmq) We recommend the [Pry](https://github.com/pry/pry) backend for full functionality. From 35dd8879947e051c5f6101da047d953e6bba96df Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Thu, 10 Oct 2019 19:29:39 +0900 Subject: [PATCH 3/3] Update README Change Ubuntu version order --- README.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 14469f7..a99bba3 100644 --- a/README.md +++ b/README.md @@ -19,29 +19,28 @@ We recommend the [Pry](https://github.com/pry/pry) backend for full functionalit ### Ubuntu Install Jupyter with [Anaconda](https://www.anaconda.com/) (recommended). -#### Setup ZeroMQ on Ubuntu 16.04 -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. +#### 17.04 to 19.04 ```shell sudo apt install libtool libffi-dev ruby ruby-dev make -sudo apt install git libzmq-dev autoconf pkg-config -git clone https://github.com/zeromq/czmq -cd czmq -./autogen.sh && ./configure && sudo make && sudo make install +sudo apt install libzmq3-dev libczmq-dev -gem install cztop +gem install ffi-rzmq gem install iruby --pre iruby register --force ``` -#### Setup ZeroMQ on Ubuntu 17.04 to 19.04 -Use official packages. +#### 16.04 +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. ```shell sudo apt install libtool libffi-dev ruby ruby-dev make -sudo apt install libzmq3-dev libczmq-dev +sudo apt install git libzmq-dev autoconf pkg-config +git clone https://github.com/zeromq/czmq +cd czmq +./autogen.sh && ./configure && sudo make && sudo make install -gem install ffi-rzmq +gem install cztop gem install iruby --pre iruby register --force ```