How to install and run Linux along with Windows? (Part1--Windows Subsystem for Linux)
In this blog series, 4 ways of Linux installation and usage will be handled with examples.
1- Windows Linux Subsystem
2- Virtual Machine (VMWare, Virtualbox, cloud server, etc)
3- Containers (Docker etc.)
4- Dual-boot (Windows+Linux )
1- Windows Subsystem for Linux Installation Guide for Windows 10
A- Install the Windows Subsystem for Linux
Before using Windows Subsystem for Linux , you must enable the "Windows Subsystem for Linux" optional feature. For this:
Open PowerShell as an Administrator.
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Restart your computer.
B- Download and Install a Linux Distribution
There are three ways to download & install a Linux Distribution:
Microsoft StoreCommand-Line/Script (read the manual installation instructions)Manually (for Windows Server -Â instructions here)
Downloading and Installing using the Microsoft Store
Please be sure that your Windows build is 16215 or later. You can check your build from this link.
Open Microsoft Store and select a Linux distribution. The following links are the related pages for each distribution:Ubuntu 16.04 LTSUbuntu 18.04 LTSOpenSUSE Leap 15OpenSUSE Leap 42SUSE Linux Enterprise Server 12SUSE Linux Enterprise Server 15Kali LinuxDebian GNU/LinuxFedora Remix for WSLPengwinPengwin EnterpriseAlpine WSLAfter opening the distribution page, select "Get"
C- Initialize your distribution
After you install your Linux distro, you should initialize the new distro instance once, before it can be used.
What is next?
In the next blog posts, these items will be handled:
Virtual Machine (VMWare, Virtualbox, cloud server, etc)Containers (Docker etc.)Dual-boot (Windows+Linux )
Further Reading:
- How to install and run Linux along with Windows? How to run dual operating systems? (Part-2)
â How to use axios in React and make API requests.
â DevOps vs. SRE: Whatâs the Difference Between DevOps and Site Reliability Engineer?
- What is ESLint? How to use ESLint? What are the best practices for ESLint?
Read the full article