Talk:Building on Ubuntu Virtual Machine: Difference between revisions

From Octave
Jump to navigation Jump to search
(Created page with "Update: WSL2 on windows 10, seems to be installing UBUNTU without asking a choice From 04/28/2022 https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps (this...")
 
m (Dockerfile request)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
Update: WSL2 on windows 10seems to be  installing UBUNTU without asking a choice
I'm not sure if getting a Gui octave for Octave ''developent'' on WSL2 is the main purpose of this wiki,
From  04/28/2022  https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps  (this is for Windows 11 Build 22000 or later)
If getting an octave with GUI on WSL2'''for scientific USE''' is at another place please direct me there.  


'''Update (5-5-2022) : WSL2 on windows 10,  seems to be  installing UBUNTU by default(?!).'''


From  04/28/2022 [https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps], this is for Windows 11 Build 22000 or later.


BUT from "https://www.bleepingcomputer.com/news/microsoft/windows-10-now-lets-you-seamlessly-run-linux-gui-apps/#:~:text=Windows%2010%20now%20lets%20you%20run%20Linux%20GUI,GUI%20applications%2C%22%20Senior%20Program%20Manager%20Brandon%20LeBlanc%20said.
'''BUT from''' [https://www.bleepingcomputer.com/news/microsoft/windows-10-now-lets-you-seamlessly-run-linux-gui-apps/#:~:text=Windows%2010%20now%20lets%20you%20run%20Linux%20GUI,GUI%20applications%2C%22%20Senior%20Program%20Manager%20Brandon%20LeBlanc%20said.] : "Windows 10 now lets you run Linux GUI apps (X11 and Wayland) without using a virtual machine after Microsoft added GUI support to the Windows Subsystem for Linux (WSL)."
"Windows 10 now lets you run Linux GUI apps (X11 and Wayland) without using a virtual machine after Microsoft added GUI support to the Windows Subsystem for Linux (WSL)."
So : '''No  need for Virtual box anymore(?!) , for either win[10|11]?'''
So : No  need for Virtual box anymore(?!),


Windows 10 Insider Preview Build 21364,  is a must for WSLg install?  
Windows 10 Insider Preview Build 21364,  is a must for WSLg install?  
It's a no go for  
It's a no go for bellow?
Edition Windows 10 Home
Edition Windows 10 Home
Version 21H2
Version 21H2
Installed on ‎29/‎12/‎2021
Installed on ‎29/‎12/‎2021
OS build 19044.1645
OS build 19044.1645
Serial number MP21S3..
Serial number MP21S3..
Experience Windows Feature Experience Pack 120.2212.4170.0
Experience Windows Feature Experience Pack 120.2212.4170.0


WSL2
if no -d or ----distribution flag then autoinstall UBUNTU
--status 
        Show the status of Windows Subsystem for Linux.
    --update [Options]
        If no options are specified, the WSL 2 kernel will be updated
        to the latest version.
        Options:
            --rollback
            Revert to the previous version of the WSL 2 kernel.
Seems a good idea to  
Seems a good idea to  
PowerShell> wsl --update


############# My system  #############
PowerShell> wsl --update
Default Distribution: Ubuntu-20.04
Default Distribution: Ubuntu-20.04
Default Version: 2
Default Version: 2
Windows Subsystem for Linux was last updated on 5/5/2022 The Windows Subsystem for Linux kernel can be manually updated with 'wsl --update', but automatic updates cannot occur due to your system settings. To receive automatic kernel updates, please enable the Windows Update setting: 'Receive updates for other Microsoft products when you update Windows'. For more information please visit https://aka.ms/wsl2kernel.
Kernel version: 5.10.16


Windows Subsystem for Linux was last updated on 5/5/2022
----
The Windows Subsystem for Linux kernel can be manually updated with 'wsl --update', but automatic updates cannot occur due to your system settings.
To receive automatic kernel updates, please enable the Windows Update setting: 'Receive updates for other Microsoft products when you update Windows'.
For more information please visit https://aka.ms/wsl2kernel.


Kernel version: 5.10.16
A couple of '''safety points''', do one need to
############# My system :end #############
before exiting ?
On Ubuntu side after reboot , and auto install U-20.04 all seems preety uptodate.
  Linux> sync
Very little in
and similar on WSL2 side to exit with
>sudo apt update
  win10> wsl --terminate, -t <Distro>
>sudo apt upgrade


A couple of safety points, do one need to
----
Linux>  sync
A Dockerfile with build environment should be useful to get upto speed quickly
before exiting ?
and similar on WSL2 side to exit with
win10> wsl --terminate, -t <Distro>

Latest revision as of 00:17, 30 April 2023

I'm not sure if getting a Gui octave for Octave developent on WSL2 is the main purpose of this wiki, If getting an octave with GUI on WSL2, for scientific USE is at another place please direct me there.

Update (5-5-2022) : WSL2 on windows 10, seems to be installing UBUNTU by default(?!).

From 04/28/2022 [1], this is for Windows 11 Build 22000 or later.

BUT from [2] : "Windows 10 now lets you run Linux GUI apps (X11 and Wayland) without using a virtual machine after Microsoft added GUI support to the Windows Subsystem for Linux (WSL)." So : No need for Virtual box anymore(?!) , for either win[10|11]?

Windows 10 Insider Preview Build 21364, is a must for WSLg install? It's a no go for bellow?

Edition	Windows 10 Home
Version	21H2
Installed on	‎29/‎12/‎2021
OS build	19044.1645
Serial number	MP21S3..
Experience	Windows Feature Experience Pack 120.2212.4170.0

Seems a good idea to

PowerShell> wsl --update
Default Distribution: Ubuntu-20.04
Default Version: 2
Windows Subsystem for Linux was last updated on 5/5/2022 The Windows Subsystem for Linux kernel can be manually updated with 'wsl --update', but automatic updates cannot occur due to your system settings. To receive automatic kernel updates, please enable the Windows Update setting: 'Receive updates for other Microsoft products when you update Windows'. For more information please visit https://aka.ms/wsl2kernel.
Kernel version: 5.10.16

A couple of safety points, do one need to before exiting ?

  Linux>  sync

and similar on WSL2 side to exit with

  win10> wsl --terminate, -t <Distro>

A Dockerfile with build environment should be useful to get upto speed quickly