How to Install Windows Subsystem for Linux (WSL) on Windows 10

How to Install Windows Subsystem for Linux (WSL) on Windows 10

In Windows 10, Windows Subsystem for Linux (WSL) is a lightweight environment that allows you to install and run supported versions of Linux (such as Ubuntu, OpenSuse, Debian, etc.). virtual machine or another computer.

Although you don’t get a GUI, this approach allows developers and network administrators to use a long list of command line tools and services (such as vim, tmux, and emacs, sshd, Apache, and MySQL) and write Bash shell scripts. in Python, Ruby, C#, F#, and others using the command console.

In this Windows 10 guide, we’ll provide instructions on how to install the Windows Subsystem for Linux using the Settings app and PowerShell. We’ll also show you instructions for downloading and installing Linux distributions and steps to properly uninstall all components when you no longer need the open-source environment.

How to Install Windows Subsystem for Linux Using Settings

If you want to run Linux distributions on Windows 10, before you download and install a flavor of Linux, enable the Windows Subsystem for Linux.

Enable Windows Subsystem for Linux using Settings

To install WSL using Setting in Windows 10, follow these steps:

  1. Open Settings.
  2. Click Applications.
  3. Under the Related Settings section, click the Programs and Features option.
    Source: Windows Central
  4. Click the Turn Windows features on or off option from the left panel. Source: Windows Central
  1. Check the Windows Subsystem for the Linux option. Source: Windows Central
  2. Click the OK button.
  3. Click the Restart Now button.

After completing the steps, your environment will be set up so that you can download Linux distros on Windows 10.

Installing Linux distributions using the Microsoft Store

To install a Linux distribution on Windows 10, follow these steps:

  1. Open Microsoft Store.
  2. Search for the Linux distribution you want to install. Some of the distributions available are:
    • Ubuntu.
    • OpenSuse Leap 15.
    • Kali Linux.
    • Debian.
    • Alpine WSL.
    • Suse Linux Enterprise 12.
  3. Select Linux Dystrophy to install on your device. Source: Windows Central
  4. Click Get (or Install ). Source: Windows Central
  5. Click the Start button.
  6. Create a username for your Linux distribution and click Enter.
  7. Specify the distribution password and press Enter.Source: Windows Central
  8. Repeat the password and click Enter to accept.

After following the steps, you can start using dystrophy like any other Linux flavor (without the GUI, of course).

Uninstall Linux distributions using options

If you no longer need to run your Linux machine, it is recommended that you remove the distros and then disable WSL.

To uninstall a Linux distribution, do the following:

  1. Open Settings.
  2. Click Applications.
  3. Click on Apps and features.
  4. Under the “Applications and features” section, select a distribution – for example, Ubuntu .
  5. Click the Delete button. Windows Central
  6. Click the Delete button and click again to confirm.

After completing the steps, your Linux installation will be uninstalled and you can proceed with the steps to disable WSL.

Leave a Reply

Your email address will not be published. Required fields are marked *

WC Captcha 80 ÷ sixteen =