So I have been trying to install Ubuntu 18.04 onto my Windows 10 laptop via the Windows App Store without luck. I recently came across an article that explained how i could do this via Powershell. Today I am going to share with you how i got about to do this.
Step 1: Install the Windows Subsystem for Linux
Before installing any Linux distros for the Windows Subsystem for Linux (WSL), you must ensure that the “Windows Subsystem for Linux” optional feature is enabled:
- Open PowerShell as Administrator and run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Restart your computer when prompted.
Step 2: Install your Linux Distribution of Choice
To download and install your preferred distro(s), you can choose one from the list of download links below (click on any of the links to download the .Appx file); in my case I downloaded the Ubuntu 18.04 LTS:
- Ubuntu 16.04 LTS
- Ubuntu 18.04 LTS
- OpenSUSE Leap 15
- OpenSUSE Leap 42
- SUSE Linux Enterprise Server 12
- SUSE Linux Enterprise Server 15
- Kali Linux
- Debian GNU/Linux
- Fedora Remix for WSL
- Pengwin Enterprise
- Alpine WSL
Step3: Complete initialization of your distro
Now that your Linux distro is installed, you must initialize your new distro instance once, before it can be used.
If you encounter any errors while going through these steps, feel free to reach to reach out and I’ll d my best to help you out.