Octave for other Unix systems: Difference between revisions

From Octave
Jump to navigation Jump to search
(→‎FreeBSD: Update and facilitate reading of this section.)
(pkg_add was replaced with pkg in FreeBSD 10 about 10 years ago.)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
:''Are you looking for [[Octave for GNU/Linux|GNU/Linux]] systems?''
For other Unix systems you may have to [[Building|build Octave from source]].
For other Unix systems you may have to [[Building|build Octave from source]].


==FreeBSD==
== FreeBSD ==


The easiest way to obtain GNU Octave is to install the precompiled package as root user:
The easiest way to obtain GNU Octave is to install the precompiled package as root user:


  pkg_add -r octave
  pkg install 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:  
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:  
Line 14: Line 16:
Some [[Octave Forge]] packages can be installed in the same way:
Some [[Octave Forge]] packages can be installed in the same way:


  pkg_add -r octave-forge
  pkg install octave-forge


or via Ports<ref>https://svnweb.freebsd.org/ports/head/math/octave-forge</ref>.
or via Ports<ref>https://svnweb.freebsd.org/ports/head/math/octave-forge</ref>.
Line 20: Line 22:
== OpenBSD ==
== OpenBSD ==


Octave can be installed on OpenBSD by installing the precompiled package
The easiest way to obtain GNU Octave is to install the precompiled package as root user:
or by building from source.
 
pkg_add octave
 
Another possibility is to build Octave from source via Ports<ref>http://openports.se/math/octave</ref>.
 
== Android ==
 
: ''Main article: [[Octave for Android]]''
 
== References ==


The Octave package for OpenBSD is currently at version 3.0.5. Install it
<references/>
as root:


  pkg_add octave
== See also ==


Building from source on OpenBSD takes a bit of work at the moment, see
* [[Octave for GNU/Linux]]  
[[Compiling on OpenBSD]] for more details.


[[Category:Installation]]
[[Category:Installation]]

Latest revision as of 09:35, 12 October 2024

Are you looking for GNU/Linux systems?

For other Unix systems you may have to build Octave from source.

FreeBSD[edit]

The easiest way to obtain GNU Octave is to install the precompiled package as root user:

pkg install 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 install octave-forge

or via Ports[2].

OpenBSD[edit]

The easiest way to obtain GNU Octave is to install the precompiled package as root user:

pkg_add octave

Another possibility is to build Octave from source via Ports[3].

Android[edit]

Main article: Octave for Android

References[edit]

See also[edit]