Looking for:
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. For the current release, both bit and bit installers and zip archived packages.
Like many software programs, Octave uses packages to optionally extend and modify its capability. These packages can be installed and loaded using the built in package management program 'pkg'. Note that Octave does not automatically load installed packages, they must be manually loaded from within Octave by the user. Octave maintains a system-wide or global package list, and a user-specific or local package list. Specific locations on your system can be found by typing the following commands at the Octave command line:.
Octave versions for Windows prior to 6. The default is now to follow the same behavior on all platforms, and for all package updates and installations to apply to local or global package locations according to whether or not the user is running with Administrative privileges on Windows, this is usually accomplished by running as an Administrator privileged account, or starting Octave with the "Run as Administrator" option.
Alternatively, some pkg command options can force octave to try to use either the local or global packages. A selection of pre-built, Octave Forge packages is included with all versions of the official Windows release. If you followed the installation directions above, you can display a list of packages by typing the command below at the Octave command prompt:. The output for preinstalled global packages included with version 7. Note that the included packages shown above are stored in the default global package location within the Octave installation folder.
If any 'local' packages were previously installed with another version of windows, they might also appear in the list at the local location. It is recommended that any such packages be uninstalled and reinstalled to guarantee compatibility with the current version of octave.
If Octave was installed from a zip or 7z archive and you did not run the post-install. In that case you need to run:. That will force octave to look for both local and global packages in the set locations to repopulate the list of available packages.
Note that 'local' packages always take precedence if the same package is present in both locations. Note : The Windows bundle includes a minimal version of Python for the symbolic package. That version of Python is not intended to be used for anything else. If you like to use Python for something different in Octave e. To install a new or updated package version manually, the package file can be downloaded from the Octave Forge website to the working directory and can be installed using:. Note that all of the commands above will perform local or global package installs according to the user's Administrator access level.
This behavior can be changed by calling the install command with the -global option. As of Octave 7. For example:.
MSYS2 is a collection of tools and libraries providing an easy-to-use environment for building, installing and running native Windows software. 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:. MSYS2 follows a rolling release cycle. So, its packages are most likely more up-to-date than the packages included in Octave's installer for Windows.
It includes a working package manager pacman that provides the option to install a much wider range of packages than what can possibly be included in Octave's installer for Windows. At the bash shell use e. After that, install a version of Octave that matches your environment and the shell you are using , e.
This will install among others , the main executables of Octave octave-gui linked with Qt, i. Bear this in mind and don't panic if you get unexpected results. There are a lot of suggestions on the mailing lists for tuning your Octave installation. 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 7. Categories : Installation Building Microsoft Windows. Namespaces Page Discussion. Views Read Edit View history. Recent changes Random page Index Help.

No comments:
Post a Comment