Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Install WSL on Windows Server 2019

April 18, 2024
in Blog, WSL
0
ADVERTISEMENT

Table of Contents

The Windows Subsystem for Linux (WSL) is available for installation on Windows Server 2019 (version 1709) and later. To install WSL on Windows Server 2019 (version 1709+), you can follow the manual install steps below:

Enable the Windows Subsystem for Linux

To run Linux distributions on Windows, you need to enable the “Windows Subsystem for Linux” optional feature and restart your computer. Open PowerShell as Administrator and run:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Alternatively, you can enable Windows Subsystem for Linux using Server Manager.

Bg1774

Download a Linux distribution

In Windows Server 2019 you cannot install WSL Linux distributions using the Microsoft Store. Because it doesn’t support Microsoft Store. In this case, while WSL itself is available, you may need to download Linux distributions directly from https://learn.microsoft.com/en-us/windows/wsl/install-manual#downloading-distributions

This will download a <distro>.appxbundle packages. Or you can download a distro from the below links.

  • Ubuntu
  • Ubuntu 22.04 LTS
  • Ubuntu 20.04
  • Ubuntu 20.04 ARM
  • Ubuntu 18.04
  • Ubuntu 18.04 ARM
  • Ubuntu 16.04
  • Debian GNU/Linux
  • Kali Linux
  • SUSE Linux Enterprise Server 12
  • SUSE Linux Enterprise Server 15 SP2
  • SUSE Linux Enterprise Server 15 SP3
  • openSUSE Tumbleweed
  • openSUSE Leap 15.3
  • openSUSE Leap 15.2
  • Oracle Linux 8.5
  • Oracle Linux 7.9
  • Fedora Remix for WSL

Extract and install a Linux distribution

In the Downloads folder, you will find an .appxbundle file. You should rename this file to a .zip extension and then extract the contents of the zip file into a folder.

Bg1775

You can do it through Windows Explorer or PowerShell:

PS C:\Users\Administrator> cd .\Downloads\
PS C:\Users\Administrator\Downloads> Rename-Item .\Ubuntu2004-220404.appxbundle ubuntu.zip
PS C:\Users\Administrator\Downloads> Expand-Archive .\ubuntu.zip ubuntu

In the extracted folder, you can see the appx package. You can install it using Add-AppxPackage command:

Bg1776
PS C:\Users\Administrator\Downloads> cd .\ubuntu\
PS C:\Users\Administrator\Downloads\ubuntu> Add-AppxPackage .\Ubuntu_2004.4.2.0_x64.appx

Once done, you can see the Ubuntu in the installed app.

Bg1777
Bg1778
ADVERTISEMENT

Not a reader? Watch this related video tutorial:

5/5 - (2 votes)
Previous Post

How to Upgrade WSL 1 to WSL 2 in Windows 10, 11

Next Post

How To Install WSL on Windows Server 2022

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

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

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory