BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Microsoft Brings Linux to the Desktop

Microsoft Brings Linux to the Desktop

This item in japanese

(Update:  See below for new information released after the original post.)

Today at Build, Microsoft announced that the Anniversary Update to Windows 10 will provide the ability to seamlessly run Linux binaries on Windows 10 systems.  For years pundits and developers alike have speculated as to how and when Linux would reach greater mainstream popularity on the average PC user’s desktop.  With today’s news, it would seem that Microsoft itself has become a driving force.

Microsoft partnered with Canonical to develop the ability to use binaries that include the popular Bash shell and Emacs unmodified.  During today’s Build 2016 keynote Microsoft’s Kevin Gallo demonstrated how he is able to open a standard Bash prompt on Windows, and from there run GNU Emacs.  Gallo observed that this is real Linux compatibility—not coming through a port or virtual machine.

Microsoft’s Scott Hanselman posted a quick follow up announcement to elaborate on some of the details.  As Ubuntu is a descendant of the Debian Linux distribution, the familiar package installer apt-get is available.  Just like on a Linux desktop, Windows users will be able to install new packages via apt-get.  Exact specifications for the Windows 10 environment needed to host Linux binaries have yet to be released—based on screenshots it would appear that at minimum 64-bit Linux binaries are supported.  Whether 32-bit Linux binaries are supported has yet to be confirmed but aaccording to Hanselman it appears that 64-bit Windows will be required.

To try this functionality out yourself, look for the Windows 10 Anniversary Update coming this summer.

Update:  Microsoft’s Rich Turner and Russ Alexander have provided more details through their Channel 9 presentation, “Running Bash on Ubuntu on Windows!”.  The project originated from requests submitted via User Voice.  The two main themes were a better console and adding UNIX/Linux tools to Windows.  As a result they have built a new subsystem in the Windows kernel to expose the system calls necessary to support the Linux tools. 

This new system is called the Windows Subsystem for Linux, and was created through a joint effort between Microsoft and Canonical that provides  "UserMode Linux”.  This new subsystem “exposes a Linux-compatible syscall layer”.

The pair have made clear that it is NOT a virtual machine or emulated system and their demo is using Ubuntu 14.04.4 LTS.  If you are interested in watching this firsthand, their video shows various programs being run natively—GNU compiler, Vi text editor, and mounting the local filesystem in Linux.  Some items are not yet supported, so programs like MySQL are not yet running but the team continues working to improve the experience.

Rate this Article

Adoption
Style

BT