How To Install Windows Subsystem For Linux 2 On Windows 11 PC – Guide
In addition, the command also installs the latest Ubuntu distribution by default. If you prefer a different Linux distribution, you can append the command to choose a different distribution installation. In addition to the new quick and easy way, you can also find another way to update the kernel more easily with just one command. In that guide, you will learn the simple steps to install the WSL platform on your device. Also, we will describe the steps to update the Linux kernel on Windows 11. (Also see the video tutorial in how to use this feature.) Like newer versions of Windows 10, Windows 11 uses WSL 2. This second version has been redesigned and runs a full Linux kernel inside a Hyper-V hypervisor to improve compatibility. ..
Windows 11 downloads a Linux kernel created by Microsoft that runs in the background. Windows Update maintains the kernel up Until the present date. To use WSL, you need to install a Linux distribution. By default, WSL installs Ubuntu. This will give you access to a full Ubuntu command line environment using the bash shell or any other command line shell of your choice.
How to Install Windows Subsystem for Linux on Windows 11
To install WSL on Windows 11, you can use the command prompt or PowerShell. To do this, open the start menu (or press the Windows key) and type cmd to search for Command Prompt or powershell to open a new PowerShell window. Hover over the best match result and select Run as administrator on the right.
If the UAC prompt appears, be sure to allow the chosen application to run.
Install-WSL -Name “Windows 10” -Version “10.0.17134.0”
You will need to wait while Windows 11 enables WSL, enables GUI application support, and installs the default Linux distribution (Ubuntu) on your PC. You can monitor the installation progress in the window.
When you restart your Windows 11 computer, you will see a message asking you to complete the installation.
After your PC restarts, you can use your Linux system.
Ubuntu is a Linux distribution that you can use to run your favorite applications. To start WSL, open the Start menu – you should discover Ubuntu in the “Recently Installed” section. You can also manually find it in its first letter in the apps list.
How to Install alternative Linux WSL distributions
To install other versions of Linux on your PC, type the following into your command prompt, PowerShell, or Windows Terminal window: You can install other versions of Linux on your PC without using Ubuntu by typing the following into your command prompt, PowerShell, or Windows Terminal window: ..
I want to install Ubuntu. To install Ubuntu, first open a terminal window and type the following: sudo apt-get update && sudo apt-get upgrade After that, type the following to install Ubuntu: sudo apt-get install ubuntu-desktop ..
sudo openSUSE –install
WSL – Install OpenSUSE
How to Install Linux distributions from the Microsoft Store
If you’re not comfortable using a command-line tool, you can install Linux through the Microsoft Store. Installing Linux from the Store is like installing any other app from the Store. First, you must verify that WSL is enabled. To install Linux on your computer, first make sure that Windows Subsystem for Linux (WSL) is enabled. WSL is a feature of Windows 10 that allows you to run Linux on your computer without having to use a separate operating system. To check if WSL is enabled, open the Start menu and search for “Windows Subsystem for Linux.” If it’s not already installed, WSL will be listed as an option in the results. Once WSL is enabled, follow these steps to install Linux:
- Open the Microsoft Store on your computer and search for “Linux.”
- Click the “Linux” tile that appears in the results list and then click “Install.”
- On the next screen, click “Install now” to begin installation.
- When installation finishes, open a new window or tab in your browser and type “linux” into the address bar. You’ll see a list of available distributions to choose from. If you’re not comfortable using a command-line tool or don’t have access to a computer with Windows 10 installed, you can still install Linux through the Microsoft Store. First, verify that WSL is enabled by opening Start and searching for “Windows Subsystem for Linux” (WSL). If it’s not already installed on your device, WSL will be listed as an option in results; after enabling it follow these steps to install: 1) Open Microsoft Store on device 2) Search for “Linux” 3) Click “Linux” tile 4) Click Install 5) On next screen click Install Now 6) After installation finishes open new window or ..
To enable or disable some Windows features, open the “Optionalfeatures” program by pressing the Windows key and typing optionalfeatures.exe. Select the best match result at the top. ..
To install Windows Subsystem for Linux on your computer, check the box next to Windows Subsystem for Linux in the “Windows Features” window and click OK. ..
Wait for the changes to complete and then restart your PC.
After restarting your PC, open the Microsoft Store app and search for “Linux”.
You can choose a Linux distribution to use by clicking on the Get link and selecting one of the available options.
The Microsoft Store will now begin to download and install your Linux distribution. Please allow some time for this to complete. After the installation is complete, you will find it in the Start menu. ..
How to Access the Linux Shell in Windows 11
Windows 11 includes a new terminal app that lets you switch between PowerShell, Command Prompt, and other types of administrative windows. If you install and activate Windows Subsystem for Linux on Windows 11, you can use the new Windows Terminal to control your Linux shell.
To start a Linux terminal on your Ubuntu computer, right-click on the Start menu and select Windows Terminal (Admin). Then select the + (plus) icon in the tabbed bar at the top and choose your Linux distribution (eg Ubuntu).
Ubuntu is a Linux distribution that you can use to run your computer. If you don’t see it, launch Ubuntu from the Start menu first, then open the terminal – it will appear in the drop-down menu.
You can now use the Linux shell on your computer like you would on a PC. You can start learning and practicing Linux commands to operate it here, or you can use it to modify your Ubuntu settings. ..
How to Test the Windows Subsystem for Linux on Windows 11
If you’re not sure how to test if Windows Subsystem for Linux is working, you can use Windows Terminal to do this. ..
In the Ubuntu terminal window, type the following command: sudo apt-get update. This will update your Ubuntu software list. Next, type the following command: sudo apt-get install ubuntu-restricted-extras. This will install Ubuntu’s restricted extras package. Finally, type the following command: sudo apt-get install ubuntu-desktop. This will install Ubuntu’s desktop environment. ..
If you’re using Windows 10, you can try the game Sonic Mania which is available in the Windows Store. If you’re using a different version of Windows, or if you don’t have a copy of Sonic Mania, there are other Linux games that work with WSL. To use WSL with Ubuntu, Debian or related distributions:
- Open the Ubuntu Software Center and search for “WSL.”
- Click the “Install” button next to WSL and follow the on-screen instructions.
- Once WSL is installed, open it by clicking on its icon in the Unity launcher or by typing wsl into the command line.
- To run Tux Racer in WSL, type tuxracer into the command line and press Enter.
- If everything is working properly, you will see a message saying “Tux Racer running in windowed mode.” ..
wsl run –verbose –log-level=5 –trace-level=5 –trace-prefix=/usr/local/debug/wsl The first command prints out all the debug information that is being gathered, the second prints out the trace data for a specific frame, and the third prints out the trace data for all frames in a given directory.
sudo apt install nvidia-driver This will install the Nvidia driver and start the game.
sudo extremetuxracer
When the prompt asks if you want to continue, type Y and press Enter.
Tux Racer is a Linux app that takes a few seconds to install. When that happens, you’ll find the app in the Start menu – press it to run it as you would any other Windows app. ..
Final note
Windows Subsystem for Linux 2 is a new feature in Windows 10 that allows you to run a Linux distribution on Windows. This guide will show you how to install Windows Subsystem for Linux 2 on your Windows 11 PC. ..