Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Subsystem for Linux (WSL)? #722

Open
eldobbins opened this issue Dec 28, 2020 · 4 comments
Open

Windows Subsystem for Linux (WSL)? #722

eldobbins opened this issue Dec 28, 2020 · 4 comments

Comments

@eldobbins
Copy link

Hi;

I'm wondering if you all think that Windows Subsystem for Linux is mature enough to suggest as an option for Windows users doing the shell/python/git workshops. I looked at the install instructions and it seemed a little high-end to me, but I'm primarily a Mac/Linux user.

I read the long discussion of Cygwin #391 and it seemed that back then, it couldn't be assumed that all users were using Windows 10. Has that changed?

If it's worth trying, I can give it a go and write a PR.

@rbavery
Copy link

rbavery commented Dec 28, 2020 via email

@zkamvar
Copy link
Contributor

zkamvar commented Dec 28, 2020

a feature of any up-to-date Windows 10 installation

I do like the idea of encouraging people to use WSL, but I think this point is important: we cannot expect everyone to have an up-to-date Windows installation. I think a good model to use is to keep track of what other software we use support.

It's also worth noting that Windows 8.1 still has support for two more years.

That being said, It might be worthwhile making a separate section for Windows 10 users once the oneliner is out of Beta.

@eldobbins
Copy link
Author

I followed the instructions at https://docs.microsoft.com/en-us/windows/wsl/install-win10
I don't think it's easy enough for beginners.

  • The install is PowerShell-based and the commands are quite long. This seems ironic since we are teaching shell (but a different, better one)
  • The required versions of Windows are pretty specific.
  • There are many versions of Linux available so we'd have to decide which is best.
  • There are 2 versions currently: WSL1 and WSL2. First you install WSL1 then upgrade to WSL2. This gets a little jumbled toward the end of the install.
  • I got an error code that the instructions above translate to this error:

Please make sure that virtualization is enabled inside of your computer's BIOS. The instructions on how to do this will vary from computer to computer, and will most likely be under CPU related options.

  • I got past that, but I had to Google it because how to enter BIOS varies by computer manufacturer.
  • You have to create a username (lowercase!) and password.

On the other hand, it comes with Git. And you access it via a Windows terminal window - not a complicated VM; that part is very nice and clean. Because it is integrated with Windows, it would be useful for an intermediate user looking to transition to shell-based life without giving up Windows.

@rbavery
Copy link

rbavery commented Dec 29, 2020

I do like the idea of encouraging people to use WSL, but I think this point is important: we cannot expect everyone to have an up-to-date Windows installation. I think a good model to use is to keep track of what other software we use support.

I agree I think that's a good model to use. It sounds like we should maintain the current instructions for at least 2 years. I like the idea of providing a Windows 10 section once the instructions are out of Insiders since it seems like it will make setup easier for many folks.

I followed the instructions at https://docs.microsoft.com/en-us/windows/wsl/install-win10
I don't think it's easy enough for beginners.

I'll keep monitoring this docs page to see when the "Simplified Installation for Windows Insiders" become the main instructions on this page, and then maybe then it's a good time to start on a PR (and I'm happy to contribute). I agree that the Manual install instructions are too cumbersome to suggest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants