Editing Octave for Microsoft Windows
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
{{Note|Windows installers are available for the latest version of '''Octave ({{Release}}, released on {{Release Date}})''' from https://ftpmirror.gnu.org/gnu/octave/windows/.}} | {{Note|Windows installers are available for the latest version of '''Octave ({{Release}}, released on {{Release Date}})''' from https://ftpmirror.gnu.org/gnu/octave/windows/.}} | ||
Users are encouraged to use the latest version unless a specific feature or requirement | Users are encouraged to use the latest version unless a specific feature or requirement warrants using an older version of the software. Version specific instructions and installation notes are provided below. | ||
:'''Note:''' As of version 4.4.1, '''Octave no longer supports Windows XP'''. There may be some workarounds to get Octave installed and running in command line mode (see Bug {{bug|54662}}), but maintainers cannot provide support and troubleshooting for this beyond what has already been documented. | |||
:'''Note:''' As of version 4.4.1, '''Octave no longer supports Windows XP'''. There may be some workarounds to get Octave installed and running in command line mode (see Bug {{bug|54662}}), but maintainers cannot provide support and troubleshooting for this beyond what has already been documented. | |||
=Installers for Microsoft Windows= | =Installers for Microsoft Windows= | ||
The easiest way to install GNU Octave on Microsoft Windows is by using [http://hg.octave.org/mxe-octave/ MXE] builds. For the current release, both 32-bit and 64-bit installers and zip archived packages (.zip and .7z formats) can be found at https:// | The easiest way to install GNU Octave on Microsoft Windows is by using [http://hg.octave.org/mxe-octave/ MXE] builds. For the current release, both 32-bit and 64-bit installers and zip archived packages (.zip and .7z formats) can be found at https://www.gnu.org/software/octave/download.html under the Windows tab. | ||
* For executable (.exe) installers: the user can simply run the downloaded file and follow the on-screen installation prompts. It is recommended that the installation path does not include non-ASCII characters | * For executable (.exe) installers: the user can simply run the downloaded file and follow the on-screen installation prompts. It is recommended that the installation path does not include spaces or non-ASCII characters. Shortcuts to the program will be created automatically. | ||
* For the 7z/zip archives: | * For the 7z/zip archives: | ||
Line 20: | Line 18: | ||
# If a command-line only instance of Octave is desired, the user can create another shortcut as stated above, right-click on the shortcut, select Properties, and add <code>--no-gui</code> to the end of the Target field. | # If a command-line only instance of Octave is desired, the user can create another shortcut as stated above, right-click on the shortcut, select Properties, and add <code>--no-gui</code> to the end of the Target field. | ||
# IMPORTANT: Run the {{Path|post-install.bat}} file before running Octave the first time to reduce plot delays due to the Windows font cache and make the pre-installed packages visible to the system. | # IMPORTANT: Run the {{Path|post-install.bat}} file before running Octave the first time to reduce plot delays due to the Windows font cache and make the pre-installed packages visible to the system. | ||
* Note: versions before 7.1.0 used .vbs and .bat files to start Octave. The {{Path|octave.bat}} file is still available in {{Path|\mingw32\bin}} or {{Path|\mingw64\bin}}, depending on the version of Octave installed, for use cases requiring it for startup. | * Note: versions before 7.1.0 used .vbs and .bat files to start Octave. The {{Path|octave.bat}} file is still available in {{Path|\mingw32\bin}} or {{Path|\mingw64\bin}}, depending on the version of Octave installed, for use cases requiring it for startup. | ||
Line 126: | Line 123: | ||
Detailed instructions for installing individual Octave Forge packages are given at https://octave.sourceforge.io/packages.php. | Detailed instructions for installing individual Octave Forge packages are given at https://octave.sourceforge.io/packages.php. | ||
=GNU Octave in MSYS2= | =GNU Octave in MSYS2= | ||
Line 132: | Line 130: | ||
The best (and recommended) way to use Octave on Windows is to use the provided installers (see above). But for some special requirements, the version of Octave packaged by MSYS2 might be the better solution. Those special requirements might include: | The best (and recommended) way to use Octave on Windows is to use the provided installers (see above). But for some special requirements, the version of Octave packaged by MSYS2 might be the better solution. Those special requirements might include: | ||
* Users might want to use e.g. Octave packages that depend on third party packages not included in MXE Octave | * Users might want to use e.g. Octave packages that depend on third party packages not included in MXE Octave. | ||
* Users might need features of newer versions of packages | * Users might need features of newer versions of packages that are included in an older version in MXE Octave. | ||
* ... | * ... | ||
Line 146: | Line 144: | ||
*'''Maintainer:''' Marco Atzeri | *'''Maintainer:''' Marco Atzeri | ||
*'''Latest release:''' | *'''Latest release:''' 2022-01-06 | ||
*Latest packages: | *Latest packages: | ||
:octave- | :octave-6.4.0-1 | ||
:Its announce on cygwin mailing list [https:// | :Its announce on cygwin mailing list [https://sourceware.org/pipermail/cygwin-announce/2022-January/010389.html] | ||
: | :Octave Forge packages have each a cygwin package. | ||
:Its announce on cygwin mailing list [https://sourceware.org/legacy-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 | : At 2017-04-06, 64 forge packages were available. | ||
*To install : | *To install : | ||
Line 169: | Line 168: | ||
* To build GNU Octave from cygwin source package, you need to install "cygport" and the relevant development libraries | * To build GNU Octave from cygwin source package, you need to install "cygport" and the relevant development libraries | ||
:<syntaxhighlight lang="bash"> | :<syntaxhighlight lang="bash"> | ||
tar -xf octave- | tar -xf octave-6.4.0-1-src.tar.xz | ||
cygport octave.cygport almostall | cygport octave.cygport almostall | ||
</syntaxhighlight> | </syntaxhighlight> |