To uninstall a distribution, use the following command: wslconfig /u distribution_name Run the following command to start the default WSL distribution: wsl Set default distribution: wslconfig /setdefault Ubuntu-18.04
When it appears, click on the GET button to install on your system. There click on the search button and type Debian.
Now, again in the Windows 10 search type, Microsoft store and open it when appears. Windows Subsystem for Linux Distributions: Step 3: Download and install Debian Linux app on WSL. u, /unregister - Unregisters a distribution.įind out all the WSL installations in your Windows system using the following command: wslconfig /l s, /setdefault - Sets the specified distribution as the default. all - Optionally list all distributions, including distributions thatĪre currently being installed or uninstalled. l, /list - Lists registered distributions. Performs administrative operations on Windows Subsystem for Linux Wslconfig command can be used to list all the installed distributions and set default distribution: wslconfig You can install many Linux distributions in one Windows system. These folders include all the Ubuntu folders (libs, executables, etc.). Rootfs folder includes the following folders: PS F:\WSL\Ubuntu> cd. In the case of WSL, this new Microsoft Store release already includes a few new features, including an updated Linux kernel (version 5.10.60.1), and WSLg being bundled in. If you install WSL from Microsoft Store, the default folder in your Windows user profile will be used: %localappdata%\Packages Once the installation is done, you can see a new folder is created: PS F:\WSL\Ubuntu> ls I am using username raymond with ‘password’ as password.
* You need to input a user name and password. To run a command as administrator (user "root"), use "sudo ". The username does not need to match your Windows username. Please create a default UNIX user account. * Based on the version of Linux distro you are using, the executable name can be different. In the unzipped folder, there is one executable (*.exe). Run the following PowerShell commands to unpack: move. libGLU.so.1 - provided by mesa packages such as libglu1-mesa on Ubuntu/Debian and mesa-libGLU on Fedora. Run the following command in PowerShell to download a distro: Invoke-WebRequest -Uri -OutFile Ubuntu.appx -UseBasicParsing For my environment, I will create the folder in F drive. Run the following command in PowerShell to create a folder for the installation. Open PowerShell as Administrator and run the following command to enable WSL feature: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux Create a folder in a non-system drive Enable Windows Subsystem for Linux system feature
Search Markcerv.This page shows how to install Windows Subsystem for Linux (WSL) system on a non-system drive manually. He following links will open the Microsoft store page for each distribution: If that doesn’t work as expected, you could try any of these links that will get the distro from the Microsoft Store appx file.PowershellCopy Add-AppxPackage. NAME FRIENDLY NAME Ubuntu Ubuntu Debian Debian.
Install using 'wsl -install -dDistributions can be installed by visiting the Microsoft Store: C:\>wsl -list -online The following is a list of valid distributions that can be installed. Simply navigate to folder containing the distro downloaded from above, and in that directory run the following command where app_name is the name of your distro. C:\>wsl -l -v Windows Subsystem for Linux has no installed distributions. If you’re using Windows 10 you can install your distro with PowerShell. Follow the installation instructions to install your downloaded distro(s).
appx packages to download to a folder of your choosing. What if you wanted to add an older linux distro to your WSL2 bullpen? Visiting will show you a large number of options where you can download the appropriate.