Zhenguo Zhang's Blog
Sharing makes life better
WSL -- a perfect replacement of Cygwin and Mingw

As a program developer, I love working on the command of Linux for its richment in convenient tools, such as sed, awk, grep, vi, etc.

Every time when I bought a new windows computer, I would install cygwin or MinGW for using these linux tools. With windows 10 (version Fall Creators update or later), one can install Windows Subsystem for Linux (WSL) in windows 10 from store, just like installing an app.

Available WSL systems are:

Different from Cygwin or MinGW, all the programs under WSL can be natively compiled in the Linux environment. For more information on what a WSL is, check the link.

For how to install WSL, check this link. Particually, you need enable an option in Windows PowerShell as an administrator to install successfully, input the following command in the PowerShell terminal and restart by following the instruction:

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

Enjoy Linux under Windows. 😃


Last modified on 2018-08-15

Comments powered by Disqus