Linux Web Programming

Installing Linux on Windows via Windows Subsytem for Linux

Install Linux via the Windows Subsytem for Linux - WSL

  1. Type letters of "Powershell" into the Search until "Windows Powershell" appears.
    Seach for Windows Powershell
  2. Right-click "Windows Powershell" to open the menu and left-click "Run as administrator" to open Powershell.
    Right-click Windows Powershell
  3. Now Windows Powershell is open and we can type commands into it. This will be used for the rest of the installation.
    Windows Powershell Open
  4. To install Windows Subsytem for Linux (WSL), type wsl --install and press Enter. The installation may take a while. When it is complete, you should see something like this:
    Windows Subsytem for Linux Install Complete
  5. WSL is now installed, but we need to install a Linux distribution. In our case, the "Ubuntu" distribution was installed To check the available distributions, enter wsl -l -o to see a "list" of the one available "online."
    Available Linux Distributions
  6. Choose a Linux distribution from the ones available online and install it by entering the appropiate command (i.e. "wsl --install -d <<Distribution>>") into powershell. For example, to install "" from the ones listed above, enter this wsl --install -d Ubuntu-22.04 to finish the installation. You will be prompted to enter a username and password.
    Installed Linux Distribution
 
 

© 2007–2025 XoaX.net LLC. All rights reserved.