Difference between revisions of "Octave for Windows Subsystem for Linux"

From Octave
Jump to navigation Jump to search
(Strip redundant content from Octave for Microsoft Windows.)
(Remove re)
 
Line 1: Line 1:
:''This article is about tips to use octave on linux platform using WSL(Windows Subsystem for linux)''
+
:''Read [[Octave for Microsoft Windows]] for the recommended way to install Octave on MS Windows.''
  
On 64 bit Windows 10, we can now use linux applications using WSL(Windows Subsystem for linux). We now use and build linux version Octave.  
+
{{Note|This article is a stub and should be merged into [[Octave for Microsoft Windows]] if not expanded.}}
The original page editor only uses Ubuntu 18.04 so that description is limited to Ubuntu. Edit from people who use other distribution are welcome
 
  
= Preparation =
+
Starting with Windows 10 (64 Bit) the<ref>https://docs.microsoft.com/en-us/windows/wsl</ref>
  
* The first thing you carry out to install WSL. See Microsft Page [https://docs.microsoft.com/ja-jp/windows/wsl/install-win10].
+
"[...] Windows Subsystem for Linux lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a virtual machine."
  
 +
In general WSL should make it possible to use and build [[Octave for GNU/Linux]] on MS Windows.
 +
An overview article<ref>https://docs.microsoft.com/en-us/windows/wsl/install-win10</ref> describes the Installation of Ubuntu 18.04 in WSL.
  
* 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.
+
= References =
 
+
<references />
* For the 7z/zip archives:
 
# 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.)
 
# Run the {{Path|fc_update.bat}} file before running Octave to reduce plot delays due to the Windows font cache.
 
 
 
==Packages==
 
 
 
A selection of pre-built, [[Octave Forge]] packages are included with for all versions of the official Windows 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
 
 
 
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
 
 
 
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
 
 
 
Other packages can be installed by running:
 
 
 
  >> pkg install -forge <package name>
 
 
 
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
 
 
 
Detailed instructions for installing individual Octave Forge packages are given at https://octave.sourceforge.io/packages.php.
 
  
 
[[Category:Installation]]
 
[[Category:Installation]]
 
[[Category:Microsoft Windows]]
 
[[Category:Microsoft Windows]]

Latest revision as of 23:03, 15 August 2019

Read Octave for Microsoft Windows for the recommended way to install Octave on MS Windows.
Info icon.svg
This article is a stub and should be merged into Octave for Microsoft Windows if not expanded.

Starting with Windows 10 (64 Bit) the[1]

"[...] Windows Subsystem for Linux lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a virtual machine."

In general WSL should make it possible to use and build Octave for GNU/Linux on MS Windows. An overview article[2] describes the Installation of Ubuntu 18.04 in WSL.

References[edit]