James C
James C

Reputation: 919

How to install, verify and update all Octave packages at once?

Today I have installed Octave 3.8 with GUI on my Windows 7 machine. Is there a command that will install all the available Octave packages ? Then I would also like to see a list of all the installed packages, and update them at times. So is there a command that checks for updates of all the installed packages ? Thank you.

Upvotes: 7

Views: 40786

Answers (3)

dkb
dkb

Reputation: 4596

Load/Unload all packages at once by executing the following command

pkg load all
pkg unload all

Upvotes: 3

Andre
Andre

Reputation: 26

On Windows/Mac there is an installer on http://octave.sourceforge.net/. This installs all(?) packages but you have to load them with "pkg load".

Upvotes: 0

am304
am304

Reputation: 13886

It looks as if pkg update will update all your installed packages. See the documentation on pkg for more details.

I haven't found a way to install all packages, I am doing them one at a time using pkg install -forge <package_name>, which is a bit tedious. It is also giving me errors when trying to install parallel.

Upvotes: 6

Related Questions