Tuesday, November 24, 2020
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.


Please enter your comment!
Please enter your name here

Latest Post

How to Install and Use PHP Composer on Linux Distributions

The PHP composer is a dependency manager of the PHP framework that you can use on your Linux system...

The 20 Best Drinking Games for Android | Spice Up Your Party

A Party full of friends can never be fulfilled unless one of you arranged a few funny and crazy...

Jenkins Server on Linux: A Free and Open-source Automation Server

Jenkins is not a regular server like Apache or Nginx; it’s a free and open-source server for the developers,...

The 10 Best Rust Programming Books: Experts’ Recommendation

Rust is a language that engages everybody to construct dependable and productive software. Rust is an open-source framework programming...

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 about Linux OS or distro...

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...

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...

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...

You Might Also LikeRELATED
Recommended to you