Linux

Installing Linux Subsystem on Windows 10

I’m going to attempt to learn ruby-on-rails, and I’m going to document my experiences as best I can so people can learn from my fuck-ups.

I started this out by installing the Linux subsystem that is now available on Windows 10. I’ve used this from time to time but never in a useful manner. This seems like the kind of use that it was meant for so I’m going to try it out.

I used to use Linux Mint exclusively as my only¬†OS during the dark days of Windows Vista and Windows 8. I made the switch back to Windows after I got tired of not being able to play 3/4 of my steam games without having to fuck around with Wine and crossover and then reinstalling the OS because I fucked shit up by messing with things I shouldn’t have been.

Anyways back to what I was doing. In order to do that we have to first enable developer mode by going to Start -> Settings -> Update & Security -> For developers and then select the radio button for “Developer mode”

Then we have to enable the feature in windows. we can do that by going to Start and typing in “Programs and Features” and selecting “Turn Windows features on or off” in the upper left hand corner of the window.

In the window that pops up we scroll all the way to the bottom of the list and enable “Windows Subsystem for Linux (Beta)” and hit OK

This can also be completed In powershell as admin if you’re comfortable enough to do that.

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Once complete we need to open up command prompt and type in “bash” and hit enter

It will ask you if you want to install Ubuntu for windows hit ‘y’ for yes and it will do its thing. I had to hit enter a couple of times during the installation to make it move forward and it will ask you you enter a user-name and a password for the Ubuntu system.

If my shitty ramblings are not helpful I also found the MSDN article that explains how to do this the Microsoft way.