GNU Octave Best Alternative to MATLAB – Install GNU Octave on Ubuntu

GNU Octave is a free and open-source interactive programming environment for numerical computations, compatible with Linux, Windows, BSD, and MacOS. It includes built-in 2D/3D plotting and visualization tools, allowing you to solve linear and nonlinear problems numerically. Octave serves as a free high-level language for mathematics, and its syntax is largely compatible with Matlab. It is released under the GNU General Public License.

GNU Octave

Install GNU Octave on Ubuntu

You can install GNU Octave via snap, flatpak and native Ubuntu repositories.

Install GNU Octave via Ubuntu repositories:

In terminal application run all below commands one by one. If needed enter your Ubuntu user password during the installation.

sudo apt install octave
sudo apt install liboctave-dev

You can also open GNU Octave from the application menu or from show applications menu from Ubuntu dock.

Install GNU Octave via Snap:

Open the terminal command-line tool (ctrl+alt+t) and run this GNU Octave snap installation command.

sudo snap install octave

Install GNU Octave via Flatpak:

If you want to install GNU Octave via the Flatpak package, you need to install and set up Flatpak and Flathub on your system. Follow the link below to install this on your system. If you have already installed it, then ignore this step.

Also Read:  Control Modern Icom Ham Radios With Wfview

Install Flatpak on Ubuntu

After the installation of flatpak and flathub setup, restart your system and run below GNU Octave flatpak installation command.

flatpak install flathub org.octave.Octave

Then run GNU Octave via below command.

flatpak run org.octave.Octave

Note: If you don’t have flatpak and flathub installed, you can use the commands below to install them.

sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Leave a Reply