• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

How to install Windows Subsystem For Linux 2 on Windows 10

AnonyViet by AnonyViet
February 2, 2023
in Tips
0

Windows 10 has encroached on Linux with the WSL card – Windows Subsystem for Linux (Windows subsystem for Linux). With the release of WSL2, an updated version of WSL, users can now use the Linux kernel (Linux kernel) to execute Linux tasks from Windows. With the introduction of the latest version of Windows 20H1, WSL2 is already set for official release. So, in this article, I will guide you to install Windws Subsystem for Linux on Windows 10.

Join the channel Telegram of the AnonyViet 👉 Link 👈

Install Windows Subsystem For Linux 2 on Windows 10

First of all, if you want to learn about Windows Subsystem for Linux on Windows 10, the following article will introduce you to what is WSL and WSL2? Let’s still grasp the basics before continuing.

WSL2 or Window Subsystem for Linux 2 provides users console environment Linux in Windows 10. So you will be able to run Linux binaries from Windows 10 without using a virtual machine. Furthermore, WSL can be used for services and tools in the Linux kernel. on the command-line interface. But the most important is still bash shell.

In this tutorial, I will show you how to install Windows Subsystem for Linux in 2 ways.

  1. Using a graphical user interface (GUI)
  2. Using PowerShell and Command line on Windows 10

Also, I will show you how to install different Linux distros from the MIcrosoft Store. But, if you want to install those distros then it is imperative that you install WSL first.

Install Windows Subsystem for Linux using the GUI

Request:

  1. Stable internet connection.
  2. Windows 10 Aniniversary Edition 1607 for WSL.
  3. Windows 10 insider version 18917 for WSL2.
  4. Hyper-V support.

Setting WSL by software Settings and Control Panel is the most preferred method, as it is very easy to use. Here are the steps to install WSL in Windows 10:

How to Install Windows Subsystem For Linux on Windows 10

  1. Press Windows + CHEAP and type Controls.
  2. Continue to click on the item Programs.
  3. Under the place Programs and Features. Press Turn Windows Features on or off.

Alternatively, you can also open the app Settings on Windows 10 and then go to Apps > Programs and Features > Turn Windows features on or off.

  1. Now, the Windows Features window has appeared. Here, you can turn Windows features on and off using checkboxs.
  2. In the list of checkboxs, scroll down and find the option Windows Subsystem for Linux.
  3. Tick in that checkbox.
  4. Press OK to install WSL on Windows 10.
  5. Finally, press Restart Now.

Install Windows Subsystem for Linux with Windows 10 Powershell

If you’ve ever used Linux, you’re no stranger to using commands anymore. For these people, typing commands is more fun than using GUI (admittedly, using commands is fun).

Different from installing WSL2 using GUI, we can also use Powershell to enable WSL in Windows 10. To install WSL using Powershell, follow these steps:

  1. Press Start menu and type Powershell.
  2. Right mouse go to the first result and select run the application as an administrator.
  3. Type the following command and press Enter:
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    How to install WSL 2 on Windows 10
  4. After running the command, PowerShell will ask you to restart the machine to apply the changes.
  5. So you guys press “Y” to complete and confirm reboot the machine.

After rebooting, your Windows 10 has Windows Subsystem installed.

Install Linux Distros on Windows 10

After installing Windows Subsystem for Linux, we can proceed to install Linux distros in the Microsoft Store.

  1. Press Start and then select Microsoft Store.
  2. Search for your favorite distro to install on Windows 10.install Subsystem For Linux 2 on Windows 10
  3. If you want to see all Linux distros on Microsoft Store, you can search keyword Linux and press Enter.
  4. Finally, press Install or Get.

install WSL 2 on windows 10

After the installation is complete, the distro will be located in Start Menu. When you run the distro for the first time, a short setup process takes place. Basically, it will ask for the username and password you want to set for Linux.

WSL2 settings: Change from WSL to WSL2

After you have successfully installed the Linux distro with WSL, you must change from WSL to WSL2. Until you make the change successfully, the distro will still run in the WSL environment.

  1. Open PowerShell with Admin rights.
  2. Check if Linux is installed with the command: wsl -l
  3. Next, run the command: wsl --set-version <distro> 2
    Changing from WSL to WSL2Replace “” with the name of the Linux distro you installed
  4. You can use the command below to set WSL2 as the default architecture for all Linux distros.
    wsl --set-default-version 2

Uninstall Linux distro on Windows 10

You can uninstall Linux distros with the following:

  1. Open the app Settings.
  2. Select item Apps, then press Apps & Features.
  3. Select distro and press Uninstall.Uninstall Linux distro on Windows 10

And so that Linux distro has been completely removed from your computer.

Uninstall or Disable Windows Subsystem for Linux

Uninstalling or disabling WSL on Windows 10 is also very simple. To uninstall WSL on Windows 10, follow the steps below.

  1. Open the software Settings.
  2. Select the Apps Settings item.
  3. Go Apps > Programs and Features > Turn Windows Features on of off.
  4. Scroll down to options Windows Subsystem for Linux.
  5. Uncheck that box.
  6. Click OK and restart the machine.

Uninstall or Disable WSL on Windows 10 Using PowerShell

  1. Open PowerShell with admin rights and enter the command below:
    Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  2. Press Y to restart the machine.

You have successfully disabled Windows Subsystem for Linux on your device.

The article achieved: 5/5 – (100 votes)

Tags: installLinuxSubsystemWindows
Previous Post

[GIVEAWAY] Download iCareFone Full Key – iPhone optimization software

Next Post

Download ResumeMaker Professional 20.1 Full Key – Create Resume

AnonyViet

AnonyViet

Related Posts

Instructions on how to format text on the Windows 11 notepad
Tips

Instructions on how to format text on the Windows 11 notepad

August 16, 2025
4 ways to fix bluetooth connectivity on Windows 11
Tips

4 ways to fix bluetooth connectivity on Windows 11

August 8, 2025
How to know the computer is tracked and processed by Keylogger
Tips

How to know the computer is tracked and processed by Keylogger

August 7, 2025
Opal: Create applications who do not need to write code
Tips

Opal: Create applications who do not need to write code

August 3, 2025
How to activate a new Start menu on Windows 11
Tips

How to activate a new Start menu on Windows 11

July 29, 2025
Intellgpt: AI tool for osint and data science
Tips

Intellgpt: AI tool for osint and data science

July 28, 2025
Next Post
Download ResumeMaker Professional 20.1 Full Key – Create Resume

Download ResumeMaker Professional 20.1 Full Key - Create Resume

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Instructions on how to format text on the Windows 11 notepad

Instructions on how to format text on the Windows 11 notepad

August 16, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
Instructions on how to format text on the Windows 11 notepad

Instructions on how to format text on the Windows 11 notepad

August 16, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Instructions on how to format text on the Windows 11 notepad

Instructions on how to format text on the Windows 11 notepad

August 16, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply