Octave for Microsoft Windows: Difference between revisions
Jump to navigation
Jump to search
→Installers for Microsoft Windows: Various minor corrections to the English (commas added, location of adverbs corrected, etc.)
(→Installers for Microsoft Windows: Various minor corrections to the English (commas added, location of adverbs corrected, etc.)) |
|||
Line 11: | Line 11: | ||
===Octave-4.2.1=== | ===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.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/]. | The easiest way to install GNU Octave on Microsoft Windows is by 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 | 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-file archives, the user should extract the file content to a directory on the harddrive (such as C:\Octave). Manual shortcuts can then be created to either the octave.bat or octave.vbs files in the main installation directory. | For the zip-file archives, the user should extract the file content to a directory on the harddrive (such as C:\Octave). Manual shortcuts can then be created to either the octave.bat or octave.vbs files in the main installation directory. | ||
====Packages==== | ====Packages==== | ||
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 | 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 you | 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 | ||
Line 34: | Line 34: | ||
>> pkg install -forge <package name> | >> pkg install -forge <package name> | ||
To | To install a new or updated package version manually, 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 | >> pkg install package_file_name.tar.gz | ||
Detailed instructions for installing Octave-Forge packages are given at [http://wiki.octave.org/Octave-Forge Octave-Forge] | |||
''Note that a security related issue in Windows XP currently prevents Octave from | ''Note that a security related issue in Windows XP currently prevents Octave from retrieving packages from the website automatically 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== |