Octave for Microsoft Windows: Difference between revisions

Jump to navigation Jump to search
m
(4 intermediate revisions by 3 users not shown)
Line 10: Line 10:
= Installers for Microsoft Windows =
= Installers for Microsoft Windows =


===Octave-4.2.0===
===Octave-4.2.1===
The easiest way to install GNU Octave on Microsoft Windows is using [http://hg.octave.org/mxe-octave/ MXE] builds. For the current 4.2.0 release both 32-bit and 64-bit installers and zip archived packages can be found at [https://ftp.gnu.org/gnu/octave/windows/ ftp.gnu.org/gnu/octave/windows/].  
The easiest way to install GNU Octave on Microsoft Windows is using [http://hg.octave.org/mxe-octave/ MXE] builds. For the current 4.2.1 release both 32-bit and 64-bit installers and zip archived packages can be found at [https://ftp.gnu.org/gnu/octave/windows/ ftp.gnu.org/gnu/octave/windows/].  


For executable installers the user can simply run the downloaded file and follow the onscreen installation prompts.  It is recommended that the installation path not include spaces or non-ASCII characters. Shortcuts to the program will be automatically created.  
For executable installers the user can simply run the downloaded file and follow the onscreen installation prompts.  It is recommended that the installation path not include spaces or non-ASCII characters. Shortcuts to the program will be automatically created.  
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
 
Packages can be updated by running
 
  >> pkg update
 
Other packages can be installed by running


''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.''
  >> 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.0 on cygwin==
== Octave 4.2.1 on cygwin==


*'''Web-Site:''' http://cygwin.com  
*'''Web-Site:''' http://cygwin.com  
*'''Maintainer:''' Marco Atzeri  
*'''Maintainer:''' Marco Atzeri  
*'''Latest release:''' 2017-01-30
*'''Latest release:''' 2017-04-06


*Latest packages:
*Latest packages:


:octave-4.2.0-1
:octave-4.2.1-1
:Its announce on cygwin mailing list [https://cygwin.com/ml/cygwin-announce/2017-01/msg00077.html]
:Its announce on cygwin mailing list [https://cygwin.com/ml/cygwin-announce/2017-04/msg00017.html]


:octave-forge packages have each  a cygwin package
:octave-forge packages have each  a cygwin package
:Its announce on cygwin mailing list [https://cygwin.com/ml/cygwin-announce/2017-01/msg00078.html]
:Its announce on cygwin mailing list [https://cygwin.com/ml/cygwin-announce/2017-01/msg00078.html]
: Full cygwin package list is available here [https://cygwin.com/packages/]
: Full cygwin package list is available here [https://cygwin.com/packages/]
: At today 2017-01-30, 64 forge packages are available.  
: At today 2017-04-06, 64 forge packages are available.  


*To install :  
*To install :  
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