{"id":48592,"date":"2025-04-04T15:30:41","date_gmt":"2025-04-04T15:30:41","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=48592"},"modified":"2025-04-04T15:30:41","modified_gmt":"2025-04-04T15:30:41","slug":"gnu-octave-10-1-0-ppa","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2025\/04\/gnu-octave-10-1-0-ppa\/","title":{"rendered":"GNU Octave 10.1.0 is out with New Functions [Ubuntu PPA]"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/octave-logo.webp\"><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\" \/><\/a><\/p>\n<p>GNU Octave, the free open-source programming language for scientific computing and numerical computation, rolled out the new 10.1.0 release.<\/p>\n<p>The official <a href=\"https:\/\/octave.org\/news.html\" target=\"_blank\" rel=\"noopener\">announcement<\/a> is not ready at the moment of writing. Though, the source tarball was made available to download since last week. And, I&#8217;ve made the package into PPA for all current Ubuntu releases.<\/p>\n<p><!--more--><\/p>\n<p>According to the NEWS file in source code, GNU Octave 10 <b>introduced 3 new functions<\/b>. They are:<\/p>\n<ul>\n<li><b>clim<\/b> &#8211; query or set color axis limits for plots.<\/li>\n<li><b>rticklabels<\/b> &#8211; query or set the tick labels on the r-axis of a polar plot.<\/li>\n<li><b>thetaticklabels<\/b> &#8211; query or set the tick labels on the theta-axis of a polar plot.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave10.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48593\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave10-700x393.webp\" alt=\"\" width=\"610\" height=\"342\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave10-700x393.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave10-300x168.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave10-768x431.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave10-1320x741.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave10.webp 1367w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>The release also introduced <b>3 new command line options<\/b>. They are <code>--no-init-user<\/code> \/ <code>--no-init-site<\/code> to NOT read user \/ site-wide configuration files at startup, and <code>--no-init-all<\/code> to NOT read any configuration files at startup.<\/p>\n<p>There are as well 3 short form aliases, <code>-e<\/code> for <code>--eval<\/code>, <code>-g<\/code> for <code>--gui<\/code>, and <code>-G<\/code> for <code>--no-gui<\/code>. And, the <code>--verbose<\/code>, <code>-V<\/code> command-line option has been deprecated.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave-clioptions.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-48594\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave-clioptions-700x536.webp\" alt=\"\" width=\"610\" height=\"467\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave-clioptions-700x536.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave-clioptions-300x230.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave-clioptions-768x588.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2025\/04\/octave-clioptions.webp 978w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>The 10.1.0 release also include performance improvements. The <code>nchoosek<\/code> algorithm is now ~2x faster and provides greater precision. The <code>nextpow2<\/code> algorithm is now more accurate for inputs very close to a power of 2, and the output class now matches the input class for Matlab compatibility.<\/p>\n<p>Other changes include:<\/p>\n<ul>\n<li><code>jsonencode<\/code> now outputs integers and floating point integers without &#8220;.0&#8221; suffix.<\/li>\n<li><code>hist<\/code> now accepts N-dimensional array inputs for input <code>Y<\/code>.<\/li>\n<li>Support setting breakpoints in <code>set<\/code> or <code>get<\/code> methods of <code>classdef<\/code> properties.<\/li>\n<li><code>.mex<\/code> files now link to the new library <code>liboctmex<\/code>.<\/li>\n<li><code>pkg describe<\/code> command now supports a new <code>Tracker<\/code> tag in the <code>DESCRIPTION<\/code> file and returns package-provided repository and bug tracker URLs.<\/li>\n<li><code>pkg install<\/code> now mentions package-provided URL and package-provided bug tracker if any.<\/li>\n<li><code>polar<\/code> plots now include the center tick mark value, typically 0, in the <code>'rtick'<\/code> parameter when the plot is created.<\/li>\n<li><code>plot3<\/code> now draws a single marker if only one data point is given.<\/li>\n<li><code>height<\/code> and <code>width<\/code> are now aliases for the <code>rows<\/code> and <code>columns<\/code> functions.<\/li>\n<li>All colormaps now default to a size of 256 colors.<\/li>\n<li>The first argument to <code>colormap<\/code> may now be a figure or axes object.<\/li>\n<li><code>iqr<\/code> now provides compatible output for empty inputs.<\/li>\n<li><code>rat<\/code> now accepts complex inputs.<\/li>\n<li><code>issorted<\/code> now accepts the <code>MODE<\/code> option <code>\"monotonic\"<\/code>.<\/li>\n<li><code>movfun<\/code> and <code>movslice<\/code> functions now accept <code>wlen<\/code> equal to 1 or [0,0].<\/li>\n<li>The <code>nancond<\/code> property for <code>movfun<\/code> has been fully implemented and made Matlab-compatible.<\/li>\n<li><code>movmin<\/code> and <code>movmax<\/code> have default behavior set to <code>omitnan<\/code>.<\/li>\n<li><code>movmad<\/code> function now defaults to calculating median absolute deviation.<\/li>\n<li><code>symbfact<\/code> outputs <code>count<\/code>, <code>parent<\/code>, and <code>post<\/code> are now row vectors rather than column vectors.<\/li>\n<\/ul>\n<p>GNU Octave 10 <b>removed some functions<\/b> that are deprecated since Octave 8. They include <code>shift<\/code> (replacement <code>circshift<\/code>), <code>sparse_auto_mutate<\/code>, <code>fminsearch<\/code> parameter, and <code>load<\/code> options of <code>-force<\/code> and <code>-import<\/code>. <\/p>\n<p>There are as well some functions deprecated. For more details, either wait &#038; see the official release note, or see the &#8220;NEWS&#8221; file in source.<\/p>\n<h3>Get GNU Octave 10.1.0<\/h3>\n<p>The source tarball is available to download at GNU.org 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>To make life easy, I&#8217;ve made the package into this <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/octave\" rel=\"noopener\" target=\"_blank\">unofficial PPA<\/a> for Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04, Ubuntu 24.10, and Ubuntu 25.04.<\/p>\n<p>Just press Ctrl+Alt+T on keyboard to open terminal, and run 3 commands below one by one to add PPA and install:<\/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, use command:<\/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 free open-source programming language for scientific computing and numerical computation, rolled out the new 10.1.0 release. The official announcement is not ready at the moment of writing. Though, the source tarball was made available to download since last week. And, I&#8217;ve made the package into PPA for all current Ubuntu releases.<\/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-48592","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-gnu-octave","tag-programming"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48592","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=48592"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/48592\/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=48592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=48592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=48592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}