From 321ab1ac8b5cffbd24ec4bb7b83504db133d417e Mon Sep 17 00:00:00 2001 From: Qianqian Fang <fangqq@gmail.com> Date: Wed, 8 Jul 2020 16:56:32 -0400 Subject: [PATCH] add Debian and Ubuntu installation commands --- README.rst | 39 ++++++++++++++++++++++++++++++++++++++- README.txt | 28 +++++++++++++++++++++++++++- 2 files changed, 65 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index e432ae9..9dcbe61 100644 --- a/README.rst +++ b/README.rst @@ -32,7 +32,7 @@ release v1.9.8 in Oct. 2019. A list of the major changes are summarized below efficiently encode special matrices and the addition of ``jsave/jload`` to save and restore variables in MATLAB/Octave like the ``save/load`` commands (experimental): -- 2020-06-13 [81feef3] skil no-op markers, update documentation +- 2020-06-13 [81feef3] skip no-op markers, update documentation - 2020-06-13 [4904155] jload load data to struct, test if loadbj input is buffer, update error msg - 2020-06-12 [c334799] change default workspace to caller for jload and jsave - 2020-06-10 [c883546] fix keeptype single integer bug @@ -206,6 +206,43 @@ To enable data compression/decompression, you need to install ``octave-zmat`` us .. code:: shell sudo dnf install octave-zmat + +Then open Octave, and type ``pkg load jsonlab`` to enable jsonlab toolbox. + +---------- +Install JSONLab on Debian +---------- + +JSONLab is currently available on Debian unstable. To install, you may run + +.. code:: shell + + sudo apt-get install octave-jsonlab + +One can alternatively install ``matlab-jsonlab`` if MATLAB is available. + +---------- +Install JSONLab on Ubuntu +---------- + +JSONLab is currently available on the below PPA for Ubuntu users: + +https://launchpad.net/~fangq/+archive/ubuntu/ppa + +To install, please run + +.. code:: shell + + sudo add-apt-repository ppa:fangq/ppa + sudo apt-get update + +to add this PPA, and then use + +.. code:: shell + + sudo apt-get install octave-jsonlab + +to install the toolbox. ``octave-zmat`` will be automatically installed. ---------- Install JSONLab on Arch Linux diff --git a/README.txt b/README.txt index 2ecdef0..ea7cfbd 100644 --- a/README.txt +++ b/README.txt @@ -37,7 +37,7 @@ release v1.9.8 in Oct. 2019. A list of the major changes are summarized below efficiently encode special matrices and the addition of `jsave/jload` to save and restore variables in MATLAB/Octave like the `save/load` commands (experimental): -* 2020-06-13 [81feef3] skil no-op markers, update documentation +* 2020-06-13 [81feef3] skip no-op markers, update documentation * 2020-06-13 [4904155] jload load data to struct, test if loadbj input is buffer, update error msg * 2020-06-12 [c334799] change default workspace to caller for jload and jsave * 2020-06-10 [c883546] fix keeptype single integer bug @@ -198,6 +198,32 @@ To enable data compression/decompression, you need to install `octave-zmat` usin sudo dnf install octave-zmat + +=== Install JSONLab on Debian === + +JSONLab is currently available on Debian unstable. To install, you may run + + sudo apt-get install octave-jsonlab + +One can alternatively install `matlab-jsonlab` if MATLAB is available. + +=== Install JSONLab on Ubuntu === + +JSONLab is currently available on the below PPA for Ubuntu users: + +https://launchpad.net/~fangq/+archive/ubuntu/ppa + +To install, please run + + sudo add-apt-repository ppa:fangq/ppa + sudo apt-get update + +to add this PPA, and then use + + sudo apt-get install octave-jsonlab + +to install the toolbox. `octave-zmat` will be automatically installed. + === Install JSONLab on Arch Linux === JSONLab is also available on Arch Linux. You may install it using the below command -- GitLab