Categories: OSWorkspace

Windows 10 Preview Adds Native Bash Support

The first build of Windows 10 to support Bash on Ubuntu has been made available to Windows Insiders, following the announcement of a partnership with Canonical at Build 2016 last week.

Build 14316 lets users run native Bash in developer mode by switching on the beta version of the ‘Windows Subsystem for Linux’ (WSL) and is installed by typing ‘bash’ into the command prompt.

Microsoft says the addition of Bash is an acknowledgement that open source tools can be difficult to use on Windows and represents a significant change in strategy by the company, especially since former CEO Steve Ballmer once called Linux “a cancer.”

Bash support on Windows 10

WSL supports Bash scripts, Linux command-line tools and even allows developers to try out Linux-first tools like Ruby, Git and Python directly on Windows 10.

However Microsoft has a warning for early adopters.

“First, this is the first time we’re releasing this technology – it’s marked as beta for a reason: We know that there are some rough edges and that some things will break!” it said in a blog post. “Do not expect every Bash script and tool that you run will work perfectly – there will be gaps. But by trying out this feature, you’ll help us figure out what we need to work on in order to greatly improve our reliability, coverage, and reach.

“Second, while you’ll be able to run native Bash and many Linux command-line tools on Windows, it’s important to note that this is a developer toolset to help you write and build all your code for all your scenarios and platforms. This is not a server platform upon which you will host websites, run server infrastructure, etc.

“Third, note that Bash and Linux tools cannot interact with Windows applications and tools, and vice-versa. So you won’t be able to run Notepad from Bash, or run Ruby in Bash from PowerShell.”

The partnership took many in the industry by surprise, including Canonical’s own executives. Dustin Kirkland, its product and strategy chief, said the secret project meant he used Windows for the first time in 16 years, while head of Canonical Mark Shuttleworth said the deal defied convention.

Native Bash support is expected to arrive for all users as part of the much-heralded Windows 10 Anniversary Update later this year.

Aside from a number of bug fixes, Build 14316 improves cross-device performance of Cortana, new extensions for the Microsoft Edge browser, a preview version of the Skype universal application, more battery and Windows Update options, new emojis and better support for virtual desktops.

Take our Windows 10 quiz here!

Steve McCaskill

Steve McCaskill is editor of TechWeekEurope and ChannelBiz. He joined as a reporter in 2011 and covers all areas of IT, with a particular interest in telecommunications, mobile and networking, along with sports technology.

Recent Posts

OpenAI In Talks With California Over For-Profit Shift

OpenAI reportedly begins early talks with California attorney general over complex transition from nonprofit to…

2 hours ago

EU To Assess Apple’s iPad Compliance Plans

European Commission says it will review Apple's iPad compliance with DMA rules as it seeks…

2 hours ago

James Dyson Says ‘Spiteful’ Budget Will Kill Start-Ups

James Dyson delivers most high-profile criticism so far of Labour's first Budget that raises £40bn…

3 hours ago

Nvidia, Meta Ask Supreme Court To Axe Investor Lawsuits

Nvidia, Meta bring cases before US Supreme Court this month seeking tighter limits on investors'…

3 hours ago

Nvidia To Replace Intel On Dow Jones Industrial Average

Nvidia to replace Intel this week on Dow Jones Industrial Average after years of turmoil…

4 hours ago

Toyota-Backed Joby Flies ‘Air Taxi’ In Japan

Joby Aviation and Toyota Motor complete demonstration flight in Shizuoka as companies prepare to bring…

4 hours ago