GNU Octave, the best alternative to MATLAB – Install GNU Octave on Ubuntu

GNU Octave is a free open source interactive programming environment for math on Linux, Windows, BSD, and Mac OS. Comes with built-in 2D / 3D plotting and visualization tools. It can be used to numerically solve linear and non-linear problems. Octave is a free high-level language for math. Octave syntax is almost compatible with Matlab. It is released under the GNU General Public License.

Install GNU Octave on Ubuntu

GNU Octave can be installed via snap, flatpak, and native Ubuntu repositories.

Install GNU Octave via Snap.

Open a terminal command line tool (ctrl + alt + t) and run this GNU Octave snap install command.

sudo snap install octave

GNU Octave can be opened from the Application menu or the Application View menu in the Ubuntu Dock.

Install GNU Octave through the Ubuntu repository.

In the terminal application, run all of the following commands one at a time. If necessary, enter the Ubuntu user password during the installation.

sudo apt update
sudo apt install octave
sudo apt install liboctave-dev

Install GNU Octave via Flatpak.

If you 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 it on your system. Ignore this step if you have already installed it.

Also read: How to install Ranger on Ubuntu-Command Line File Manager

Install Flatpak on Ubuntu

After installing flatpak and flathub setup, run it under the GNU Octave flatpak installation command.

flatpak install flathub org.octave.Octave

Then run GNU Octave with the following command:

flatpak run org.octave.Octave

that’s it.

If you like this article, subscribe YouTube channel..You can also stay connected with us twitter And Facebook..