Installing packages on Octave

Hello there!

Here a simple “how to” to install packages on Octave.

First of all, why install packages? Because when installing only Octave, we’ll only have a part of all functions available. We’ll find lots of specific functions in these packages, for example, if you need to resize an image, you should install the package image.

Ok, how do we do that? Actually, it’s quite simple. Go to the Octave packages site: http://octave.sourceforge.net/packages.php

In our example of image package, download it (in our case we save in /home/user/octave directory). The file name is image-2.0.0.tar.gz.

Now, to be able to use this new package you must load it with the command

And you are ready to go!

Marcelo

Marcelo Jo

Marcelo Jo is an electronics engineer with 10+ years of experience in embedded system, postgraduate in computer networks and masters student in computer vision at Université Laval in Canada. He shares his knowledge in this blog when he is not enjoying his wonderful family – wife and 3 kids. Live couldn’t be better.

LinkedIn 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.