Octave for openSUSE: Difference between revisions

From Octave
Jump to navigation Jump to search
No edit summary
m (style fixes)
Line 8: Line 8:
If you want to use latest stable version of Octave, you can use science repository.
If you want to use latest stable version of Octave, you can use science repository.


Adding science repository (<openSUSE verion> is your version of openSUSE, for example {{codeline|openSUSE_13.1}}):
==== Install using One Click Install ====


  zypper addrepo http://download.opensuse.org/repositories/science/<openSUSE version>/ Science
You can use [http://software.opensuse.org/download.html?project=science&package=octave one click install mechanism for Octave].
 
==== Manual installation ====
 
Add science repository (<openSUSE verion> is your version of openSUSE, for example {{codeline|openSUSE_13.2}}):
 
  zypper addrepo http://download.opensuse.org/repositories/science/<openSUSE verion>/science.repo
  zypper refresh
  zypper refresh


Installing Octave from science repository:
Install Octave from science repository:
 
zypper install --from Science octave


Also you can use [http://software.opensuse.org/download.html?project=science&package=octave one click install for octave].
zypper install --from science octave


=== Octave Forge packages ===
=== Octave Forge packages ===
Line 50: Line 54:


=== Bug reporting ===
=== Bug reporting ===
You can report openSUSE specific bugs by pressing "Report Bug" button on [https://build.opensuse.org/package/show/science/octave OBS Octave page] (SUSE bugzilla account required).
You can report openSUSE specific bugs by pressing "Report Bug" button on [https://build.opensuse.org/package/show/science/octave OBS Octave page] (openSUSE bugzilla account required).


[[Category:GNU/Linux]]
[[Category:GNU/Linux]]
[[Category:Installation]]
[[Category:Installation]]

Revision as of 19:28, 12 January 2015

Octave packages

Octave binary packages are provided from OSS repository of all actual openSUSE versions. Octave can be installed with the help of YaST or zypper command

zypper install octave

If you want to use latest stable version of Octave, you can use science repository.

Install using One Click Install

You can use one click install mechanism for Octave.

Manual installation

Add science repository (<openSUSE verion> is your version of openSUSE, for example openSUSE_13.2):

zypper addrepo http://download.opensuse.org/repositories/science/<openSUSE verion>/science.repo
zypper refresh

Install Octave from science repository:

zypper install --from science octave

Octave Forge packages

Octave-Forge binary packages are provided from science repository. You can list all available packages by zypper command

zypper search octave-forge

Linear algebra libraries

openSUSE uses reference BLAS and LAPACK implementations by default, but ATLAS or OpenBLAS are usually much faster. You can switch it by update-alternatives mechanism:

/usr/sbin/update-alternatives --config libblas.so.3
/usr/sbin/update-alternatives --config liblapack.so.3

Example:

There are 4 choices for the alternative libblas.so.3 (providing /usr/lib64/libblas.so.3).

  Selection    Path                             Priority   Status
------------------------------------------------------------
* 0            /usr/lib64/libblas.so.3.4.2       50        auto mode
  1            /usr/lib64/atlas/libsatlas.so.3   20        manual mode
  2            /usr/lib64/atlas/libtatlas.so.3   20        manual mode
  3            /usr/lib64/libblas.so.3.4.2       50        manual mode
  4            /usr/lib64/libopenblasp.so.0      20        manual mode

See linear algebra libraries page at openSUSE wiki for more information.

Image export and import

GraphicsMagick++ library from openSUSE repositories was compiled with quantum depth 16 which limits reading and writing images to 16 bit. See more details on GraphicsMagick wiki page.

Bug reporting

You can report openSUSE specific bugs by pressing "Report Bug" button on OBS Octave page (openSUSE bugzilla account required).