Difference between revisions of "Octave for other Unix systems"

From Octave
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
For other Unix systems you may have to [[Build from source]].
+
For other Unix systems you may have to [[Building|build Octave from source]].
  
==FreeBSD==
+
== FreeBSD ==
If you're running FreeBSD you have two options: you can build from source (via ports) or get the precompiled package:
+
 
 +
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<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:  
  
*Using ports:
 
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  
 
  cd /usr/ports/math/octave  
 
  make install clean  
 
  make install clean  
  
After a while you should have your octave ready to use.
+
Some [[Octave Forge]] packages can be installed in the same way:
  
*Using packages:
+
  pkg_add -r octave-forge
As root type:
 
  pkg_add -r octave  
 
If everything goes fine, it'll fetch the package and install it.
 
  
Either way it may also be a good idea to install the package called "octave-forge"
+
or via Ports<ref>https://svnweb.freebsd.org/ports/head/math/octave-forge</ref>.
  
 
== 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
  
The Octave package for OpenBSD is currently at version 3.0.5. Install it
+
Another possibility is to build Octave from source via Ports<ref>http://openports.se/math/octave</ref>.
as root:
 
  
  pkg_add octave
+
== Android ==
  
Building from source on OpenBSD takes a bit of work at the moment, see
+
: ''Main article: [[Octave for Android]]''
[[Compiling on OpenBSD]] for more details.
 
  
==Other==
+
== References ==
  
There is a build server which continuously builds Octave for Linux. You will find the latest tarball [http://hydra.nixos.org/job/gnu/octave-default/tarball/latest-finished here].
+
<references/>
  
 
[[Category:Installation]]
 
[[Category:Installation]]

Latest revision as of 23:26, 22 October 2019

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_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[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]