Octave for Microsoft Windows: Difference between revisions

Jump to navigation Jump to search
m
(2 intermediate revisions by the same user not shown)
Line 24: Line 24:
If you instead installed Octave from the .zip archive, you need to first rebuild the package list on your local machine. (The command above will produce a blank output and packages will be inaccessible before rebuilding.) Do this by typing the following command:
If you instead installed Octave from the .zip archive, you need to first rebuild the package list on your local machine. (The command above will produce a blank output and packages will be inaccessible before rebuilding.) Do this by typing the following command:


  >> pkg rebuild
  >> pkg rebuild


''A bug in the Windows builds currently prevents Octave from automatically retrieving packages from the website for installation or updates. This will be fixed in the next Octave release. Until then, manual package installation is necessary to update or install new packages on Windows.''
Packages can be updated by running
 
  >> pkg update
 
Other packages can be installed by running
 
  >> pkg install -forge <package name>


To manually install a new or updated package version, the package file can be downloaded from the [https://octave.sourceforge.io/packages.php Octave-Forge website]to the working directory and can be installed using:
To manually install a new or updated package version, the package file can be downloaded from the [https://octave.sourceforge.io/packages.php Octave-Forge website]to the working directory and can be installed using:
Line 32: Line 38:
   >> pkg install package_file_name.tar.gz
   >> pkg install package_file_name.tar.gz


Detailed instruction of installing Octave-Forge packages is shown at [http://wiki.octave.org/Octave-Forge Octave-Forge]
For detailed instruction of installing Octave-Forge packages is shown at [http://wiki.octave.org/Octave-Forge Octave-Forge]
 
 
''Note that a security related issue in Windows XP currently prevents Octave from automatically retrieving packages from the website for installation or updates when running under that Operating System, and manual package installation is necessary to update or install new packages.''


== Octave 4.2.1 on cygwin==
== Octave 4.2.1 on cygwin==
Line 80: Line 89:


==Older MXE builds==  
==Older MXE builds==  
===Octave-4.2.0===
The instructions for Octave 4.2.0 are the same as for Octave 4.2.1 above. However, note that version 4.2.0 has a bug that prevents it from automatically retrieving packages from the [https://octave.sourceforge.io/packages.php Octave-Forge website] for installation or updates. Manual package installation is necessary with this version to update or install new packages on Windows.
To manually install a new or updated package version, the package file can be downloaded from the [https://octave.sourceforge.io/packages.php Octave-Forge website] to the working directory and can be installed using:
  >> pkg install package_file_name.tar.gz
Detailed instruction of installing Octave-Forge packages is shown at [http://wiki.octave.org/Octave-Forge Octave-Forge]


===Octave-4.0.3===
===Octave-4.0.3===
153

edits

Navigation menu