GNU Octave 7.2 was released a few days ago. Here’s unofficial Ubuntu PPA for those who prefers the classic
The new 7.2 release of this scientific programming language contains mainly bug-fixes. See the release note for the changes.
GNU Octave 7.2.0
How to Install GNU Octave 7.2.0 in Ubuntu Linux:
The software offers official Snap package which runs in sandbox. User may simply search for and install it from Ubuntu Software. Though it’s still in v7.1 at the moment of writing, it updates automatically once new package is out.
Install Octave Snap from Ubuntu Software
It’s also available to install as Flatpak package. And, here’s the step by step tutorial shows how.
For those who prefers the classic
.deb package format, here’s an unofficial PPA contains the package for Ubuntu 20.04, Ubuntu 22.04, Linux Mint 21/20.
1.) First, press Ctrl + Alt + T on keyboard to open terminal. When it opens, paste the command below and hit run to add PPA:
sudo add-apt-repository ppa:ubuntuhandbook1/octave
Type user password (no asterisk feedback) and hit Enter to continue.
2.) After adding PPA, run command to refresh system package cache. This is done automatically in Ubuntu 20.04 +, but Linux Mint users need to do it manually:
sudo apt update
3.) Finally, either update the software package via ‘Software Updater’ (Software Manager):
Or, run the command below in terminal to install / update the package:
sudo apt install octave
To remove the PPA as well as downgrade the Octave package to the stock version in system repository, run command:
sudo apt install ppa-purge && sudo ppa-purge ppa:ubuntuhandbook1/octave
To remove the programming language package, either use your system package manager (Ubuntu Software) or run command below in terminal:
sudo apt remove --autoremove octave octave-common