Skip to content

Commit

Permalink
add Debian and Ubuntu installation commands
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jul 8, 2020
1 parent e686828 commit 321ab1a
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 2 deletions.
39 changes: 38 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
28 changes: 27 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 321ab1a

Please sign in to comment.