React JS | WSL

React JS | WSL

What is WSL?

WSL Stand for Windows Subsystem for Linus. WSL is a feature of windows that allow you to run a Linux environment in your windows machine, without the need for separate virtual machine or dual booting. WSL is designed to provide a seamless and productive experience for a developers who want to you both windows and Linux at the same time.

Why WSL?

To install and run various Linux distributions, such as Ubuntu, Debian, Kali, and more without the overhead of a traditional virtual machine or dual boot setup.

Disadvantage of WSL

Linux software that is expecting to be able to control the drivers probably won't work (because after all WSL is running on the NT kernel, not Linux). For example WiFi sniffing apps that want to put the WiFi card in promiscuous mode probably won't work.

How To install WSL

1. Open Windows Terminal

2. Run the given command and wait for installation (This command installs WSL and sets up a default Linux distribution for you. By default, the installed Linux distribution will be Ubuntu)

wsl --install        

3. After install successful restart your computer for apply changes.

How to Check WSL Version

Run the given command on power shell to check WSL version

wsl -l -v        

How to change the default Linux distribution

By default, the installed Linux distribution will be Ubuntu. This can be changed using the -d flag.

  • To change the distribution installed, enter: wsl --install -d <Distribution Name>. Replace <Distribution Name> with the name of the distribution you would like to install.
  • To see a list of available Linux distributions available for download through the online store, enter: wsl --list --online or wsl -l -o.
  • To install additional Linux distributions after the initial install, you may also use the command: wsl --install -d <Distribution Name>.

要查看或添加评论,请登录

Tara Singh Khadka的更多文章

  • React JS | Router

    React JS | Router

    React Router React Router handle the client and server-side routing in React applications that allow navigating without…

  • React JS- Fragmentation, Components, import/export Components

    React JS- Fragmentation, Components, import/export Components

    Fragment React Fragment is a feature in React that allows you to return multiple elements from a React component by…

  • React JS

    React JS

    Disadvantage of React JS SEO Problem: There are issues that Google and different search engines can't index or poorly…

  • React JS | Introduction

    React JS | Introduction

    Hello everyone! I am happy to have started an exciting journey of React.js with the guidance of Bikash Karki experts at…

社区洞察

其他会员也浏览了