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.
Install the packages on your working directory. Then add "pkg load pkg_name" command to octave-1.1~\share\octave\site\m\startup\octaverc. It will load the package every time.
To install a package, use the pkg command from the Octave prompt by typing: pkg install -forge package_name , where package_name is the name of the package you want to install.
To install a package from the Octave Forge, at the Octave prompt type pkg install -forge package_name . This requires an internet connection. If you use a very old Octave version (< 3.4. 0), you'll have to download the package file manually, and use pkg install package_file_name.
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
.
Load/Unload all packages at once by executing the following command
pkg load all
pkg unload all
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With