0 Comments

So I have installed WSL as soon as it was available in the production ring of Windows 10. It is nice/epic etc. you should try it yourself. I used it Format a large XML file fast so that I could actually read it. That was a year ago. So it has been around now for a while.

Scott tweeted that you can pipe '|' stuff between windows/powershell and linux commands! But in the screenshot there was this "wslconfig /list" command. It listed “Legacy (Default)” for me…

Everytime a software developer says “legacy” they should wash their mouth. So I had to remove it!

Scott pointed me to this article about updating the WSL. But I did not want to update it, because I have the latest from the store. That article is also a year old by the way.

So the command you are looking for in case you have a legacy WSL as default is “lxrun /uninstall /full /y

Today (19th of April 2018) there are several options in the store:

Debian GNU/Linux https://www.microsoft.com/store/productId/9MSVKQC78PK6
Ubuntu https://www.microsoft.com/store/productId/9NBLGGH4MSV6
openSUSE Leap 42 https://www.microsoft.com/store/productId/9NJVJTS82TJX
SUSE Linux Enterprise Server 12 https://www.microsoft.com/store/productId/9P32MWBH6CNS
Kali Linux https://www.microsoft.com/store/productId/9P32MWBH6CNS

Try some and enjoy!

Good luck!

Pin on pinterest Plus on Googleplus Post on LinkedIn
0 Comments

Here are the 9 steps to enable the linux subsystem in the latest Windows 10 version:

  1. Windows key + I (to go to settings)
  2. Update Windows
  3. Select developer menu on left hand side
  4. Make sure that the developer mode is enabled
  5. Go back to the main page of settings
  6. On the right hand side click “programs and features”
  7. Click on install additional features on the left hand side
  8. Check the box for the linux subsystem
  9. Double click on c:/windows/system32/bash.exe to install it

 

snip_20170411142711

I had to blog this, because the GUI option mentioned on msdn did not work on my locale (nl_nl)

https://msdn.microsoft.com/en-us/commandline/wsl/install_guide#enable-the-windows-subsystem-for-linux-feature-gui

snip_20170411143020

Read more about it on MSDN https://msdn.microsoft.com/en-us/commandline/wsl/about

Good luck!

Pin on pinterest Plus on Googleplus Post on LinkedIn