Building on Ubuntu Virtual Machine: Difference between revisions

Jump to navigation Jump to search
m (Added more details in several sections)
(Mention wsl (windows subsystem for linux) as alternative to VirtualBox for unix development on windows.)
 
Line 1: Line 1:
This page contains instructions on how to build Octave in an Ubuntu virtual machine in a Windows Host.
This page contains instructions on how to build Octave in an Ubuntu virtual machine in a Windows Host. There are multiple approaches to this.
 
In addition to the VirtualBox approach described below, it is possible to use the Windows Subsystem for Linux [https://docs.microsoft.com/en-us/windows/wsl/about]. On windows 10 wsl2 can be used, which for graphical output requires installing an X11 or VNC client on windows, and setting up a virtual X11 display on the virtual linux system. On windows 11 wslg is available with comes with an integrated X11 client and ready to use X11 display. Wsl and wsl2 have near native unix performance. Ubuntu is one of the available OS-es to install for wsl2/wslg, and once that is installed the instructions as for the Ubuntu installed with VirtualBox apply.


This page is both concise and self-contained to allow beginners to quickly develop code for Octave. The libraries and instructions have been tested in Ubuntu 20.04.
This page is both concise and self-contained to allow beginners to quickly develop code for Octave. The libraries and instructions have been tested in Ubuntu 20.04.