
{"id":51339,"date":"2026-06-03T14:30:35","date_gmt":"2026-06-03T14:30:35","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=51339"},"modified":"2026-06-03T14:30:35","modified_gmt":"2026-06-03T14:30:35","slug":"gnu-octave-11-2-0-released-with-improved-performance-fixes","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2026\/06\/gnu-octave-11-2-0-released-with-improved-performance-fixes\/","title":{"rendered":"GNU Octave 11.2.0 Released with Improved Performance &#038; Fixes"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-42801\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>GNU Octave, the open-source programming language for scientific computing and numerical computation, released new 11.2.0 version a few days ago.<\/p>\n<p>This is the second release in the 11.x series, which features many performance and core improvements, GUI enhancements, documentation updates, and bug-fixes.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-51340\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/octave1120-700x440.webp\" alt=\"\" width=\"610\" height=\"383\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/octave1120-700x440.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/octave1120-300x189.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/octave1120-768x483.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2026\/06\/octave1120.webp 1491w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>First, the new Octave 11.2.0 included many core improvements. It sped up the <code>pkg install<\/code> command and added more output with <code>-verbose<\/code>. It added visibility attribute to function declarations, and, re-implemented <code>weboptions<\/code> and related functions <code>webread<\/code>, <code>webwrite<\/code>.<\/p>\n<p>It also removed extra semicolons after function definitions, fixed N-D array assignment to prevent out-of-bounds indexing, and, added ability for class constructors (<code>classdef<\/code>) to return a classdef array of itself.<\/p>\n<p>This version also updated the GUI. It fixed the double spaces in translations, improved German translation. It now uses mouse cursor shape from Qt if possible or SVG. And, for Windows &#8220;system&#8221; calls no longer hide windows.<\/p>\n<p>Besides the GUI and core improvements, Octave 11.2.0 also fixed some issues for building system, and, updated the documentation for <code>arguments<\/code> keyword (and add to manual).<\/p>\n<p>Other changes include:<\/p>\n<ul>\n<li>Deprecate <code>all<\/code> and <code>any<\/code> for non-numeric\/non-logical types.<\/li>\n<li>Fix input validation of <code>permB<\/code> input to <code>eigs()<\/code>.<\/li>\n<li>Fix pager in CLI on Windows and disable it in the GUI.<\/li>\n<li>Check floating point subscripts before converting to <code>octave_idx_type<\/code>.<\/li>\n<li>Reject non-finite, non-integer, and out-of-range floating-point index values before casting them to <code>octave_idx_type<\/code>.<\/li>\n<li>Fix <code>norm (S, 2)<\/code> for all-zero sparse matrices.<\/li>\n<li>Avoid potential integer overflow for <code>max<\/code>.<\/li>\n<\/ul>\n<p>For more about the new release, see the NEWS file in the source tarball (see the link below).<\/p>\n<h3>Get GNU Octave 11.2.0<\/h3>\n<p>The source tarball is available to download at GNU website via the link below:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/ftp.gnu.org\/gnu\/octave\/\" target=\"_blank\" rel=\"noreferrer noopener\">Download GNU Octave (source)<\/a><\/div>\n<\/div>\n<p>Besides building from the source, Arch Linux has already include the new 11.2.0 release in the official Extra repository. While other Linux may keep an eye on the community maintained <a href=\"https:\/\/flathub.org\/en\/apps\/org.octave.Octave\" target=\"_blank\" rel=\"noopener\">Flatpak package<\/a> that runs in sandbox.<\/p>\n<p>For Ubuntu users who prefer the native <code>.deb<\/code> package, I&#8217;ve made the new release package into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/octave\/\" target=\"_blank\" rel=\"noopener\">unofficial PPA<\/a> for Ubuntu 22.04, Ubuntu 24.04, and Ubuntu 26.04, though without testing.<\/p>\n<p>To add the PPA and install Octave 11.2.0, open terminal (Ctrl+Alt+T) and run commands below one by one:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntuhandbook1\/octave<\/pre>\n<pre>sudo apt update<\/pre>\n<pre>sudo apt install octave<\/pre>\n<h3>Uninstall:<\/h3>\n<p>To uninstall the .deb package, run command in terminal:<\/p>\n<pre>sudo apt remove octave octave-common<\/pre>\n<p>And, use the command below to uninstall the PPA:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntuhandbook1\/octave<\/pre>\n<p>For Linux Mint, also run <code>sudo apt update<\/code> to manually refresh package cache afterward.<\/p>","protected":false},"excerpt":{"rendered":"<p>GNU Octave, the open-source programming language for scientific computing and numerical computation, released new 11.2.0 version a few days ago. This is the second release in the 11.x series, which features many performance and core improvements, GUI enhancements, documentation updates, and bug-fixes.<\/p>\n","protected":false},"author":1,"featured_media":42801,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1551,2086],"class_list":["post-51339","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-gnu-octave","tag-programming"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=51339"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/51339\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/42801"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=51339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=51339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=51339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}