This tutorial shows you how to install the latest GNU Octave (version 9.3.0 so far) in all current Ubuntu releases, including Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04.
GNU Octave is a free open-source scientific programming language, primarily intended for numerical computations. It features powerful mathematics-oriented syntax with built-in 2D/3D plotting and visualization tools, cross-platform, and drop-in compatible with many Matlab scripts.
The latest version of the programming language has reached version 9.2.0. Features in the 9.x release series include:
- Overhauled
dec2base
,dec2bin
, anddec2hex
. They now accept negative inputs and fractional inputs. - Re-architected the
inputParser
function to get a 60% performance improvement. - The
perms
function has been made faster. - New functions, including
isenv
,ismembertol
,isuniform
,tensorprod
. - Removed
disable_diagonal_matrix
,disable_permutation_matrix
, anddisable_range
functions. Replacements areoptimize_diagonal_matrix
,optimize_permutation_matrix
, andoptimize_range
- Operators, such as
.+
,.+=
,**
, and.**=
are removed. Replacements are+
,+=
,+=
,^
, and.^=
. - And, following function are obsolete:
idx_vector::bool()
,all_ok(const Array&)
inArray-util.h
,octave_base_value::count
- Support Qt6.
- Deprecate FLTK backend, in favor of Qt.
See the news page for more about Octave 9.