Octave for Microsoft Windows: Difference between revisions

Jump to navigation Jump to search
Remove note about Win XP and package installation issues, as we do no longer support that OS. Some minor improvement.
(→‎Installers for Microsoft Windows: updated for 5.1.0 and moved 4.4.1 specifics to outdated page.)
(Remove note about Win XP and package installation issues, as we do no longer support that OS. Some minor improvement.)
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
:''This article is about using pre-built installers of Octave for Windows; for instructions about building it, see [[Windows Installer]].''
:''This article is about using pre-built installers of Octave for Windows; for instructions about building it, see [[Windows Installer]].''


Windows installers are available for the latest version of Octave ({{Release}}, released on {{Release Date}}) from https://ftp.gnu.org/gnu/octave/windows/. 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|Windows installers are available for the latest version of '''Octave ({{Release}}, released on {{Release Date}})''' from https://ftp.gnu.org/gnu/octave/windows/.}}
 
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.


=Installers for Microsoft Windows=
=Installers for Microsoft Windows=
Line 12: Line 16:
# Extract the file content to a directory on the harddrive (such as {{Path|C:\Octave}}). Spaces or non-ASCII characters in the path are discouraged and may cause program errors.
# Extract the file content to a directory on the harddrive (such as {{Path|C:\Octave}}). Spaces or non-ASCII characters in the path are discouraged and may cause program errors.
# Manually create a shortcut  to the {{Path|octave.vbs}} file in the main installation directory. (Right-click on the file, select 'Create Shortcut', and move the new shortcut to your desired location.)  
# Manually create a shortcut  to the {{Path|octave.vbs}} file in the main installation directory. (Right-click on the file, select 'Create Shortcut', and move the new shortcut to your desired location.)  
# If a command-line only instance of Octave is desired, the user can create a shortcut as stated above, right-click on the shortcut, select Properties, and add ''--no-gui'' to the end of the Target field.
# If a command-line only instance of Octave is desired, the user can create a shortcut as stated above, right-click on the shortcut, select Properties, and add <code>--no-gui</code> to the end of the Target field.
# 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.
# 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.


==Packages==
==Packages==
Line 23: Line 27:
A typical output (for version {{Release}}) is:
A typical output (for version {{Release}}) is:
                                                                                              
                                                                                              
  Package Name         | Version | Installation directory
  Package Name       | Version | Installation directory
  --------------------+---------+-----------------------
  --------------------+---------+-----------------------
     communications  |  1.2.1 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\communications-1.2.1
     communications  |  1.2.1 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\communications-1.2.1
             control  |  3.1.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\control-3.1.0
             control  |  3.1.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\control-3.1.0
     data-smoothing  |  1.3.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\data-smoothing-1.3.0
     data-smoothing  |  1.3.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\data-smoothing-1.3.0
           database  |  2.4.3 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\database-2.4.3
           database  |  2.4.3 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\database-2.4.3
           dataframe  |  1.2.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\dataframe-1.2.0
           dataframe  |  1.2.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\dataframe-1.2.0
               dicom  |  0.2.1 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\dicom-0.2.1
               dicom  |  0.2.1 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\dicom-0.2.1
           financial  |  0.5.3 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\financial-0.5.3
           financial  |  0.5.3 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\financial-0.5.3
               fits  |  1.0.7 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\fits-1.0.7
               fits  |  1.0.7 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\fits-1.0.7
  fuzzy-logic-toolkit |  0.4.5 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\fuzzy-logic-toolkit-0.4.5
  fuzzy-logic-toolkit |  0.4.5 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\fuzzy-logic-toolkit-0.4.5
                 ga  |  0.10.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\ga-0.10.0
                 ga  |  0.10.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\ga-0.10.0
             general  |  2.1.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\general-2.1.0
             general  |  2.1.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\general-2.1.0
       generate_html  |  0.3.1 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\generate_html-0.3.1
       generate_html  |  0.3.1 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\generate_html-0.3.1
           geometry  |  3.0.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\geometry-3.0.0
           geometry  |  3.0.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\geometry-3.0.0
                 gsl  |  2.1.1 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\gsl-2.1.1
                 gsl  |  2.1.1 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\gsl-2.1.1
               image  |  2.10.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\image-2.10.0
               image  |  2.10.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\image-2.10.0
  instrument-control  |  0.3.1 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\instrument-control-0.3.1
  instrument-control  |  0.3.1 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\instrument-control-0.3.1
           interval  |  3.2.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\interval-3.2.0
           interval  |  3.2.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\interval-3.2.0
                 io  |  2.4.12 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\io-2.4.12
                 io  |  2.4.12 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\io-2.4.12
     linear-algebra  |  2.2.2 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\linear-algebra-2.2.2
     linear-algebra  |  2.2.2 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\linear-algebra-2.2.2
               lssa  |  0.1.3 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\lssa-0.1.3
               lssa  |  0.1.3 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\lssa-0.1.3
               ltfat  |  2.3.1 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\ltfat-2.3.1
               ltfat  |  2.3.1 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\ltfat-2.3.1
             mapping  |  1.2.1 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\mapping-1.2.1
             mapping  |  1.2.1 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\mapping-1.2.1
       miscellaneous  |  1.2.1 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\miscellaneous-1.2.1
       miscellaneous  |  1.2.1 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\miscellaneous-1.2.1
                 nan  |  3.1.4 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\nan-3.1.4
                 nan  |  3.1.4 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\nan-3.1.4
             netcdf  |  1.0.12 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\netcdf-1.0.12
             netcdf  |  1.0.12 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\netcdf-1.0.12
               nurbs  |  1.3.13 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\nurbs-1.3.13
               nurbs  |  1.3.13 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\nurbs-1.3.13
                 ocs  |  0.1.5 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\ocs-0.1.5
                 ocs  |  0.1.5 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\ocs-0.1.5
             odepkg  |  0.8.5 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\odepkg-0.8.5
             odepkg  |  0.8.5 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\odepkg-0.8.5
               optim  |  1.5.3 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\optim-1.5.3
               optim  |  1.5.3 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\optim-1.5.3
         optiminterp  |  0.3.5 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\optiminterp-0.3.5
         optiminterp  |  0.3.5 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\optiminterp-0.3.5
         quaternion  |  2.4.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\quaternion-2.4.0
         quaternion  |  2.4.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\quaternion-2.4.0
           queueing  |  1.2.6 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\queueing-1.2.6
           queueing  |  1.2.6 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\queueing-1.2.6
             signal  |  1.4.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\signal-1.4.0
             signal  |  1.4.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\signal-1.4.0
             sockets  |  1.2.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\sockets-1.2.0
             sockets  |  1.2.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\sockets-1.2.0
           sparsersb  |  1.0.6 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\sparsersb-1.0.6
           sparsersb  |  1.0.6 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\sparsersb-1.0.6
             specfun  |  1.1.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\specfun-1.1.0
             specfun  |  1.1.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\specfun-1.1.0
             splines  |  1.3.2 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\splines-1.3.2
             splines  |  1.3.2 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\splines-1.3.2
         statistics  |  1.4.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\statistics-1.4.0
         statistics  |  1.4.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\statistics-1.4.0
                 stk  |  2.5.1 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\stk-2.5.1
                 stk  |  2.5.1 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\stk-2.5.1
             strings  |  1.2.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\strings-1.2.0
             strings  |  1.2.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\strings-1.2.0
             struct  |  1.0.15 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\struct-1.0.15
             struct  |  1.0.15 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\struct-1.0.15
             tisean  |  0.2.3 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\tisean-0.2.3
             tisean  |  0.2.3 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\tisean-0.2.3
                 tsa  |  4.4.5 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\tsa-4.4.5
                 tsa  |  4.4.5 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\tsa-4.4.5
               video  |  1.2.4 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\video-1.2.4
               video  |  1.2.4 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\video-1.2.4
             windows  |  1.3.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\windows-1.3.0
             windows  |  1.3.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\windows-1.3.0
             zeromq  |  1.3.0 | C:\Programs\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\zeromq-1.3.0
             zeromq  |  1.3.0 | C:\Octave\OCTAVE~1.0-W\mingw64\share\octave\packages\zeromq-1.3.0
 
If Octave was installed from a zip of 7z archive, you may need to run:
 
  >> pkg rebuild


All packages can be updated to the latest version by running:
All packages can be updated to the latest version by running:
Line 86: Line 94:
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 on [https://cygwin.com/ cygwin]=
'''Note that a security related issue in Windows XP currently prevents Octave from retrieving packages from the website automatically. When running under that Operating System manual package installation is necessary.'''
 
=GNU Octave 4.4.1 on [https://cygwin.com/ cygwin]=


*'''Maintainer:''' Marco Atzeri  
*'''Maintainer:''' Marco Atzeri  

Navigation menu