Editing Octave for Microsoft Windows
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
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. | |
− | |||
− | 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 | ||
− | |||
− | |||
=Installers for Microsoft Windows= | =Installers for Microsoft Windows= | ||
Line 11: | Line 7: | ||
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://ftp.gnu.org/gnu/octave/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://ftp.gnu.org/gnu/octave/windows/. | ||
− | + | For executable 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 zip archives, the user should extract the file content to a directory on the harddrive (such as {{Path|C:\Octave}}). Manual shortcuts can then be created to either the {{Path|octave.bat}} or {{Path|octave.vbs}} files in the main installation directory. | ||
− | + | '''Note that starting with Octave 4.4.0, the shortcuts will no longer start the graphical user interface by default. The user needs to add <code>--force-gui</code> to any manual shortcuts to start Octave with the GUI. (Right-click on the shortcut, select Properties, and add <code>--force-gui</code> to the end of the Target field.)''' | |
− | |||
− | |||
− | |||
− | |||
==Packages== | ==Packages== | ||
− | A selection of pre-built, [[Octave Forge]] packages are | + | A selection of pre-built, [[Octave Forge]] packages are prepared for all versions of the official release. If you installed Octave using the executable installer, you can confirm the package list by typing the command below at the Octave command prompt: |
>> pkg list | >> pkg list | ||
− | + | If instead you installed Octave from the .zip archive, you need first to 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 | ||
− | All packages can be updated to the latest version by running: | + | The package list should now be populated with the pre-installed packages. All packages can be updated to the latest version by running: |
>> pkg update | >> pkg update | ||
Line 94: | Line 37: | ||
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 |