Octave installeren




















The current Microsoft Windows installers are build in three "flavors": for common and bit systems "w64" and "w32" and for bit systems exceeding 32 GB of main memory to store large data structures "w". This should be much faster than the first run. Microsoft provides several virtual machine e. VirtualBox disk images of MS Windows for about one month of testing. The license given on that page for these images does not limit the use of these images.

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. For example:. To install a global package to the latest version requires write-access to the global-list location you can use:.

Note also that the update command does not take -local or -global options, and always performs an update according to the user's Administrator access level. As such if Octave was installed from a zip or 7z archive in a non-privileged account, 'pkg update' cannot be used to update global packages, they must be updated manually using 'pkg install'. Some environment variables have to be set to correctly run Octave executables.

So, a user should not call any of the executables directly unless the necessary environment variables have been set up manually. Instead, the octave. Alternatively, Octave can be started using the msys2 shell that can be started with cmdshell. It is possible to install several packages at once by writing several package files after the pkg install command.

If a different version of the package is already installed it will be removed prior to installing the new package. This makes it easy to upgrade and downgrade the version of a package, but makes it impossible to have several versions of the same package installed at once. In this case only version 1. It is possible to remove a package from the system using the pkg uninstall command like this. If the package is removed successfully nothing will be printed in the prompt, but if an error occurred it will be reported.

It should be noted that the package file used for installation is not needed for removal, and that only the package name as reported by pkg list should be used when removing a package.

It is possible to remove several packages at once by writing several package names after the pkg uninstall command. To minimize the amount of code duplication between packages it is possible that one package depends on another one.

If a package depends on another, it will check if that package is installed during installation. If it is not, an error will be reported and the package will not be installed. This behavior can be disabled by passing the -nodeps flag to the pkg install command. Since the installed package expects its dependencies to be installed it may not function correctly.

Because of this it is not recommended to disable dependency checking. Different actions are available depending on the value of command and on return arguments.

The file containing the package can be an url, e. This requires an internet connection and the cURL library. Security risk : no verification of the package is performed before the installation.

It has the same security issues as manually downloading the package from the given url and installing it. No support : the GNU Octave community is not responsible for packages installed from foreign sites.

The option variable can contain options that affect the manner in which a package is installed.



0コメント

  • 1000 / 1000