How to run Linux on Windows 10
Recently I've read on different news sources about the hype around Microsoft embedding Linux in Windows 10 creators Update; so I thought I'd give it a shot!
As with everything Microsoft does, it turns out not to be a straight forward process and there were no instructions other than people asking about error codes on forums, so here's a quick 6-steps guide:
1. First you have to join Windows Insider Program
So joining the Windows Insider program? No too difficult, you literally just have to sign in with your Microsoft account and join. If you have any problems, see this.
Once you've joined, you're set to receive moderate updates but for this you need to fast forward.
!! Warning: Bugs Ahead !!
You need to go to the Settings app, navigate to Updates tab and under Windows Insider Program, change the content you're receiving to "Skip ahead to next Windows Release"
2. Update your OS to actually receive the next unreleased Build
Once your device is set to receive prerelease builds, you have to update the OS so that it downloads the next build.
After Windows sees the update and downloads it, your computer will restart to install it.
After the restart, run "Winver" from Run to make sure you're on the beta release.
The build number has to be higher than 16237 and the Evaluation copy disclaimer appears
3. Enable Windows Subsystem for Linux from Windows features
This is the part that took me a while to figure out, once you've updated to the Creators Update, your system now bears the features to run Linux but they are by default, disabled.
To enable them you simply need to enable the feature by either searching "Turn Windows features on or off" in start menu or run "optionalfeatures" in Run.
Scroll down until you find the Windows Subsystem for Linux options and check it, once you hit ok you have to wait for system to restart again and add the features.
4. Download the Linux app you like From Windows AppStore
Now your computer is ready to run Linux, all you have to do is to open Windows' AppStore and search for Ubuntu, openSUSE, or Linux :)
Click on Get the app (they're all free) and wait for it to download.
5. Launch app and set up your Linux environment
Once downloaded, just open the app and wait for it to finish installation.
Then it will ask for you to set up your username and password like so
6. BOOM! Ready to go!
Now you are all set to just open any of the Linux apps you've set up and use any linux terminal command!