How to Install GNU Octave 6.1.0 in Ubuntu / Linux Mint

GNU Octave 6.1.0 was released a few days ago as the latest release of the interactive programming environment for numerical computations.

Octave 6 added a list of new functions and removed functions and properties that were deprecated in Octave 4.4. The Qt4 support is deprecated; system web browser can be opened by the web function. And there are many Matlab compatibility and general improvements.

Install GNU Octave 6.1.0 in Linux:

The GNU Octave Team PPA seems no longer being updated. You can now either install the Snap or Flatpak package. Both are universal Linux package format run in sandbox.

Install Octave via Snap package:

The Gnu Octave 6.1.0 snap package is still in edge channel. You may install the current stable package and wait it to be updated automatically.

Install Octave via Flatpak package:

The community maintained flatpak package has been updated. You can do following steps one by one to install Octave 6.1.0 flatpak package in Ubuntu & Linux Mint.

  1. First open terminal and run command to install flatpak daemon if you don’t have it:
    sudo apt install flatpak

  2. Then add the flathub repository via command:
    flatpak remote-add --if-not-exists flathub

  3. Finally install the software via command:
    flatpak install flathub org.octave.Octave

(Optional) For any reason, you can easily remove the Octave flatpak package by running command:

flatpak uninstall org.octave.Octave
Merilyn Ne
Hi, I'm Merilyn Ne, a geek who has been working on Ubuntu Linux for many years and would like to write useful tips for beginners. Forgive me for language mistakes. I'm not a native speaker of English.