One of the most exciting news for developers this year at Microsoft Build 2016 is that Linux bash natively runs on Windows, and for non-developers, it may not know what this means, and for developers, it means Windows makes up for the Mac OS terminal of the short board, you can run your familiar Linux Bash,python,perl, using some Linux under the library ... Instead of having to install a Cygwin or install a virtual machine to run Linux.
For specific news, please refer to:
Http://www.cnbeta.com/articles/488027.htm
Https://channel9.msdn.com/Events/Build/2016/P488?ocid=player
And yesterday, Microsoft released the developer Preview version of the feature, let's have a glimpse of Fang Yan:)
First open your Windows 10 settings , in the "Update and security" option (my machine is the English operating system, but the Chinese operating system is similar), select "Developer" and then select "Developer Mode":
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232201250-1918267997. PNG "style=" border:0px; "/>
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232201890-1889635649. PNG "style=" border:0px; "/>
2. In Windows Update and security options, select Windows Update, select advanced options in Update settings, you must turn on the internal Preview version option, and set the internal preview level to the fastest:
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232202406-477633425. PNG "style=" border:0px; "/>
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232202968-731403563. PNG "style=" border:0px; "/>
3. In the "Settings", "system" option, view the current system information, your OS version must be 14316, if not this version, please run an online upgrade, upgrade to this version:
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232203422-177404691. PNG "style=" border:0px; "/>
4. After the upgrade is complete, open the "Control Panel"-"Programs", select "Turn Windows features on or off", find the Windows Subsystem for Linux (Beta) Click and OK, the system will download the update and prompt to restart the machine:
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232203843-384656246. PNG "style=" border:0px; "/>
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232204297-385326879. PNG "style=" border:0px; "/>
5. After reboot completes, enters the command line program, the exciting time arrives, knocks at the command line bash, will prompt you whether to continue, chooses Yes, the system installs the Ubuntu file system waits completes, the system will switch to your familiar Linux bash mode, try your familiar LS and so on command:
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232204625-1840060183. PNG "style=" border:0px; "/>
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232205078-2091630939. PNG "style=" border:0px; "/>
6. Open the Windows menu and you will find an Ubuntu icon in the system, this is bash on Ubuntu on Windows:
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232205500-1222450288. PNG "style=" border:0px; "/>
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232205984-2027952151. PNG "style=" border:0px; "/>
7. Simple test Python,perl and other languages, found already installed, of course, this is the Ubuntu bash, you can install Java,ruby and so on:
650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201604/845013-20160408232206437-1105754062. PNG "style=" border:0px; "/>
For developers, this feature is very, very attractive, enjoy!
Windows 10 quick Taste bash on Ubuntu