Computers

Install Octave Packages on Linux

Install Octave Packages on Linux

In this tutorial, we will learn how to install an Octave package from the command line on a Linux box. Using the command line on Ubuntu:

List Packages

octave> pkg list

This command lists and views the packages installed on the Octave Linux instance.

Install Octave Packages

Install Octave Packages

Install Packages

octave> pkg install -forge <package-name>

The install command allows us to install the required package. However, some packages require dependencies to be installed, so we must install all the dependency packages before installing the required package.

 

Octave Package Install Statistics

Load Package

To load a package, we can use the load switch

>> pkg load <package-name>

For example, to load the symbolic package:

>> pkg load symbolic

 

Load Symbolic Package Octave

Package Information

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

octave> news <package-name>

 

Octave Package News Command Line

—

Octave Tutorials

Octave Tutorial on this website can be found at: