Open main menu



Octave binary packages are provided from the OSS repository of all recent openSUSE versions. Octave can be installed using One Click Install, YaST, or the zypper command:

zypper install octave

It is recommended to additionally install the development files. They are required, for installing Octave Forge packages outside openSUSE's OSS repository or to create applications using Octave.

zypper install octave-devel

The science repositoryEdit

If you want to use latest stable version of Octave, you can obtain the binary packages via One Click Install from the science repository.

To add the science repository manually, use the zypper commands (<openSUSE_version> is for example openSUSE_Leap_15.1):

zypper addrepo<openSUSE_version>/science.repo
zypper refresh

And to install Octave from the science repository type:

zypper install --from science octave

Octave Forge packagesEdit

Octave Forge binary packages are provided from the OSS and science repository. You can list all available packages by the zypper command:

zypper search octave-forge*

Linear algebra librariesEdit

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
/usr/sbin/update-alternatives --config


There are 4 choices for the alternative (providing /usr/lib64/

  Selection    Path                             Priority   Status
* 0            /usr/lib64/       50        auto mode
  1            /usr/lib64/atlas/   20        manual mode
  2            /usr/lib64/atlas/   20        manual mode
  3            /usr/lib64/       50        manual mode
  4            /usr/lib64/      20        manual mode

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

Image export and importEdit

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 reportingEdit

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

See alsoEdit