Octave for other Unix systems: Difference between revisions
Jump to navigation
Jump to search
(Strip outdated Hydra section. Update link to build page.) |
(→FreeBSD: Update and facilitate reading of this section.) |
||
Line 2: | Line 2: | ||
==FreeBSD== | ==FreeBSD== | ||
The easiest way to obtain GNU Octave is to install the precompiled package as root user: | |||
Make sure you have your | |||
pkg_add -r octave | |||
Another possibility is to build Octave from source via Ports<ref>https://svnweb.freebsd.org/ports/head/math/octave</ref>. Make sure you have your Port tree updated. Check [https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html FreeBSD documentation] about how to do that. Then, as root, type: | |||
cd /usr/ports/math/octave | cd /usr/ports/math/octave | ||
make install clean | make install clean | ||
Some [[Octave Forge]] packages can be installed in the same way: | |||
pkg_add -r octave-forge | |||
pkg_add -r octave | |||
or via Ports<ref>https://svnweb.freebsd.org/ports/head/math/octave-forge</ref>. | |||
== OpenBSD == | == OpenBSD == |
Revision as of 02:39, 23 October 2019
For other Unix systems you may have to build Octave from source.
FreeBSD
The easiest way to obtain GNU Octave is to install the precompiled package as root user:
pkg_add -r octave
Another possibility is to build Octave from source via Ports[1]. Make sure you have your Port tree updated. Check FreeBSD documentation about how to do that. Then, as root, type:
cd /usr/ports/math/octave make install clean
Some Octave Forge packages can be installed in the same way:
pkg_add -r octave-forge
or via Ports[2].
OpenBSD
Octave can be installed on OpenBSD by installing the precompiled package or by building from source.
The Octave package for OpenBSD is currently at version 3.0.5. Install it as root:
pkg_add octave
Building from source on OpenBSD takes a bit of work at the moment, see Compiling on OpenBSD for more details.