In this article, we’ll walk you through the process of getting WSL running on your Windows 10 machine.
Prepare your system for WSL
You must have the latest version of Windows 10 installed with the Fall Creator update installed, download Windows 10 for free… Then check which version of Windows 10 is installed on your system by searching “About” in the search box on the Start menu. You must be using version 1709 or the latest WSL.
If an older version is installed, you need to download and install the Windows Creator Update (FCU) Windows 10 from Microsoft. Once the FCU is installed, go to “Update Settings” (just search for “updates” in the search box in the start menu) and install all available updates.
Go to Turn Windows features on or off and scroll down and check the Windows Subsystem for Linux box. Click OK. It will download and install the required packages.
When the installation is complete, the system will prompt you to reboot. Go and restart your computer. WSL will not start without rebooting the system.
After your system starts up, go back to the on or off settings to confirm that the box next to Windows Subsystem for Linux is selected.
Installing Linux on Windows
There are many ways to install Linux on Windows, but we will choose the easiest way. Open the Windows Store and search for Linux. You will see the following option:
Click “Get the apps” and the Windows Store will give you three options: Ubuntu, openSUSE Leap 42, and SUSE Linux Enterprise Server. You can install all three distributions side-by-side and run all three distributions at the same time. To be able to use SLE, you need a subscription.
In this case, we are installing openSUSE Leap 42 and Ubuntu. Select the desired distribution and click the “Get” button to install it. Once installed, you can run openSUSE on Windows. It can be pinned to the Start menu for quick access.
Using Linux on Windows
When you start the distribution, it will open a Bash shell and install the distribution. Once installed, you can start using it. Just. Just keep in mind that openSUSE does not have a user and runs as root, whereas Ubuntu will ask you to create a user. On Ubuntu, you can perform administrative tasks as the sudo user.
You can easily create a user on openSUSE:
# useradd [username] # passwd [username]
Create a new password for the user. For instance:
# useradd swapnil # passwd swapnil
You can switch from root to user by running su command:
For many tasks, you need to use non-root, for example, use commands like rsync to move files on your local machine.
The first thing you need to do is update your distribution. For openSUSE:
sudo apt-get update sudo apt-get dist-upgrade
You now have a built-in Linux Bash shell on Windows. Want to ssh to your Windows 10 server? There is no need to install puTTY or Cygwin. Just open Bash and then ssh to your server. Very simple.
Want rsync files to your server? Go ahead and use rsync. It really turns Windows into a usable machine for those Windows users who want to use native Linux tools on their machines without having to deal with virtual machines.
Where is Fedora located?
You might be interested in learning about Fedora. Sorry, Fedora is not yet available in the store. Matthew Miller, Fedora Release Manager, said on Twitter, “We are working on some non-technical issues. I’m afraid we don’t have anything else now.
We do not yet know what these non-technical issues are. When asked by some users why the WSL team cannot publish Fedora themselves, after all, it is an open source project – Rich Turner, the project manager at Microsoft replied, “We have a policy not to publish other IP addresses in the store. We believe the MUCH community prefers to see the distribution published by the distribution owner, or if published by Microsoft or anyone else, which is not an authoritative source. “
So Microsoft can’t just keep publishing Debian or Arch Linux on the Windows Store. The firewall is on the official communities to bring its distributions to Windows 10 users.
Please disable your ad blocker or whitelist this site!