Re: [sage-support] Conveniently running and building sage on Win10

2021-06-01 Thread Nils Bruin
Thank you all! I needed a few steps here that were mentioned on aka.ms/wsl2-install : dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart (restart) wsl --set-defaul

Re: [sage-support] Conveniently running and building sage on Win10

2021-06-01 Thread Nathan Dunfield
> > * running "uname -r" (without options, uname only given back "Linux" which > I don't think is distinguishing information) I get > 4.4.0-19041-Microsoft > > I guess 4<19. On the other hand, 4.4 > 4.19, so I'm not sure what that is > telling me. > Based on this, I think you have WSL1: https

Re: [sage-support] Conveniently running and building sage on Win10

2021-06-01 Thread Dima Pasechnik
On Tue, Jun 1, 2021 at 6:36 PM Nils Bruin wrote: > > Thank you! I'm still getting inconclusive results. I've googled "Ubuntu – > WSL: Am I running version 1 or version 2": > > * running "wsl -l -v" in a windows shell gives me: > NAME STATE VERSION > Ubuntu Running 1 > Getting a version number at

[sage-support] Re: Conveniently running and building sage on Win10

2021-06-01 Thread Nathan Dunfield
An option worth considering is Docker. I have had some success with students on Windows or macOS using https://github.com/3-manifolds/sagedocker to develop Sage-dependent code for SnapPy. One advantage of Docker is that you can have everyone working from an initially uniform image, which hel

Re: [sage-support] Conveniently running and building sage on Win10

2021-06-01 Thread Nils Bruin
Thank you! I'm still getting inconclusive results. I've googled "Ubuntu – WSL: Am I running version 1 or version 2": * running "wsl -l -v" in a windows shell gives me: NAME STATE VERSION Ubuntu Running 1 Getting a version number at all is apparently an indication of running WSL2. * running "unam

Re: [sage-support] Conveniently running and building sage on Win10

2021-06-01 Thread Dima Pasechnik
On Tue, Jun 1, 2021 at 2:25 AM Nils Bruin wrote: > > Update: > wsl --help isn't particularly eager to divulge version information, but some > of it inadvertently has slipped through: in the description of the > "--shutdown" option there is a mention of "the WSL 2 lightweight utility > virtual m