Installing Octave Packages on Linux


In this tutorial, we will learn the steps involved to install an Octave package from the command line on Linux box.

Using the command line on Ubuntu:

List Packages

octave> pkg list

This command is used to list and view the packages installed on the Octave Linux instance.

Octave Package List

Install Packages

octave> pkg install -forge <package-name>

We can install the required package with the install command. Some packages need the dependencies to be installed. We need to install all the dependency packages before installing the required package.


Octave Package Install Statistics


To get information about the package we can run the following command

octave> news <package-name>


Octave Package News Command Line