Header Ads

Ubuntu Bash on Windows 10

Microsoft is reaching out to Linux developers in a way that the company never has before. "The Bash shell is coming to Windows. Yes, the real Bash is coming to Windows," said Microsoft's Kevin Gallo on stage at today's Build 2016 keynote. The announcement received an uproarious applause from the crowd. The new functionality will be enabled as part of this summer's Anniversary Update to Windows 10.

"This is not a VM. This is not cross-compiled tools. This is native," he said. "We've partnered with Canonical to offer this great experience, which you'll be able to download right from the Windows Store." Third-party tools have enabled this sort of thing for years, but a direct partnership between Microsoft and Canonical should offer even more flexibility and convenience for developers who prefer using these binaries and tools.

More importantly, it represents Microsoft's refreshing stance on open-source development. VP Terry Myerson teased "more coming soon" in regards to other possibilities signaling a modernized and extremely open Windows 10. This blog post by Microsoft's Scott Hanselman offers a deeper explanation of the move. "This is brilliant for developers that use a diverse set of tools like me," he said. "This is a genuine Ubuntu image on top of Windows with all the Linux tools I use."

 How to Run Bash on Windows?

Users just have to follow these simple steps to run Bash on Windows 10 OS:
  1. Open the Windows Start menu
  2. Type "bash"
  3. Hit 'Enter'

This will open a command line console (cmd.exe) running Ubuntu's /bin/bash, Dustin Kirkland, Canonical's Ubuntu Product and Strategy team member, explains in a blog post.
The system features a full Ubuntu user space complete with support for tools including ssh, apt, rsync, find, grep, awk, sed, sort, xargs, md5sum, gpg, curl, wget, apache, mysql, python, perl, ruby, php, vim, emacs and more.

Don’t get confused, as Microsoft is not enabling all Linux applications to run on top of Windows nor this is "Microsoft Linux." The company is just providing support for Bash on Windows 10 as an expansion of its command-line tool family.

So, the company is working on integrating Ubuntu User Space in Windows 10, as a hacker has already spotted a Linux subsystem in preview build (build 14251) of the Windows 10 code in late January.

How you can get it

This feature isn’t out yet, but it’s on its way. It will be part of the stable version of Windows when Windows 10’s Anniversary Update is released this summer. Until then, you’ll need to be on the Insider Preview track to get the latest unstable version of Windows 10 “Redstone.”

An Ubuntu 14.04 LTS-based Bash application will shortly be added to the Windows Store, followed by a Ubuntu 16.04 LTS-based application once Ubuntu 16.04 LTS launches on April 21.

Want to learn more? There’s a lot of information out there now. Microsoft’s announcement covers the basics and Microsoft’s Scott Hanselman provides some background. Canonical’s Dustin Kirkland provides an explanation targeted at readers familiar with Linux. You can also watch an informative 17-minute video who worked on the project.

You might also like :
How to Run Ubuntu Bash on latest Windows 10 Insider Preview Build 14316

No comments

blogmytuts. Powered by Blogger.