Home Linux GNU Octave - A Free Scientific Programming Language for Ubuntu

GNU Octave – A Free Scientific Programming Language for Ubuntu

GNU Octave is a high-level programming scripting language for numerical computations. It’s a free software which runs on Linux, Windows, BSD, MacOS, etc. This scientific programming language uses for solving linear and nonlinear mathematical problem and other various numerical experiments which is compatible with MATLAB scripts. It provides powerful mathematics-oriented syntax with built-in arranging and visualization tools. GNU Octave is considered as one of the best free alternatives to MATLAB.

GNU Octave interpreter can be used as a CLI, GUI or even as part of shell script. This programming language is written in C++ using the C++ standard library.

How to Install GNU Octave in Ubuntu Linux


In this quick tutorial, I show you how to install the latest GNU Octave in Ubuntu Linux. Though Ubuntu software center provides GNU Octave repository, it’s an old version.

There is not any official or unofficial PPA containing latest Octave, but still, you can get this newest software version via a flatpak repository. Flatpak is a universal app repository which can be used across the Linux distros similar to Snap.

Open the Terminal (Ctrl+Alt+T) and run the following command to enable the flatpak framework:

sudo apt-get install flatpak

If you are on older Ubuntu version or Ubuntu 16.04, then you have to run an additional command to get the support of flatpak app.

flatpak remote-add --if-not-exists flathub href="https://flathub.org/repo/flathub.flatpakrepo"https://flathub.org/repo/flathub.flatpakrepo

Now you can go to an official link for installing it.

GNU Octave in FlatHub app store
GNU Octave in FlatHub app store

Or run the below command:

flatpak install flathub org.octave.Octave

To run the program

flatpak run org.octave.Octave

How to Remove Octave


In case you don’t like this software, run the below command to remove the Octave flatpak app:

flatpak uninstall org.octave.Octave

And at last, run the following command to remove the flatpak support from the system:

sudo apt-get remove flatpak

Is this tutorial helpful? If so, then please spend a moment to share it on your professional social media and network. Do share your suggestion and queries in the comment below.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Post

The 15 Best Translation Software for Linux System in 2020

With the development of technology, the world has become a global village. The only barrier you can mention is...

The 20 Best Android Wear Apps for Smartphones and Watches in 2020

Many mobile companies are now developing their technology to compress the heavy use of smartphones and converting into the...

How to Install and Configure Odoo on Ubuntu Linux

Odoo is a customer relationship management tool written in Python, JavaScript, and XML. Previously it was named OpenERP (Enterprise...

The 20 Best Android Password Manager Apps in 2020

Forgetting passwords of different accounts is a very common and irritating situation; most of us don't like to face....

Most Talked Post

Most Stable Linux Distros: 5 versions of Linux We Recommend

At the very beginning, I would like to mention why the term ‘Stable’ comes in relation to Linux OS...

Linux or Windows: 25 Things You Must Know While Choosing The Best Platform

Choosing the best platform - Linux or Windows is complicated. Because both the system is versatile and capable of...

15 Best Things To Do After Installing Linux Mint 19 “Tara”

Linux Mint is one of the best Linux distros for newcomers, especially who comes from other Operating Systems like...

Linux Mint vs Ubuntu: 15 Facts To Know Before Choosing The Best One

Ubuntu and Linux Mint are two popular Linux distros available in the Linux community. Ubuntu is a derivative of...

You Might Also LikeRELATED
Recommended to you