How to Download and Run “Bash on Ubuntu on Windows 10”
The latest Windows 10 Insider Preview Build 14316 brought in a ton of new features, including Windows Subsystem for Linux. Aimed at developers, the subsystem is added in the latest test iteration of Windows 10 to allow developers to use Linux utilities without using a VM or a remote system. Windows 10 Anniversary Update slated for release this summer, will bring the ability to use Bash to run command-line Linux applications. As Microsoft has offered a preview of several features of the Anniversary Update in the latest Build 14316, running Bash on Windows 10 is also one of them.
You can enroll in Windows Insider Program to take a look at all the new features of Windows 10 14316. Once enrolled, follow this guide to run Ubuntu on Windows 10.
How to run Ubuntu on Windows 10
In this guide, we will help you run Ubuntu on Windows 10. Once in, you will be running Ubuntu 14.04 "trusty," and can also install the tools that you need, using the Apt package manager.
- Visit this page to enroll in Windows Insider Program.
- Under System Settings, select Advanced Windows Update options.
- Set your update type to the Fast ring.
- Go to the Settings app on your PC.
- Click on Update & Security > For Developers > toggle Developer mode on.
- Check for new updates and apply them. You are looking for the Insider Preview 14316.
- Restart your computer.
- Search for Windows Features > Turn Windows features on or off.
- Enable Windows Subsystem for Linux (Beta) in the Windows features.
- Reboot your computer.
- Search for Bash in the Start menu. Alternatively, open Command Prompt and type bash.
- This will prompt you to install Ubuntu on Windows 10. Once you accept the terms and conditions, the subsystem is then downloaded for you from the Windows Store. Note that this is 1GB heavy download, so you might want to do it on a faster internet connection.
- Once it's downloaded, search for Bash on Ubuntu on Windows from the Start Menu.
You will now be able to use Linux utilities, without having to run a virtual machine or a remote system. Bash on Windows 10 has access to your Windows filesystem, so you will be able to work on the same files from within Bash.
Remember, this is not technically Linux, as you are running a userspace version of Ubuntu, running on WSL (not Linux kernel). But, you will be able to run Bash shell commands, Bash scripts, and Bash shell tools. Microsoft also says that Ubuntu on Windows 10 allows you to run Linux-first tools like Ruby and Python directly on Windows.
For more, please visit Microsoft.
Stay in the loop
GET A DAILY DIGEST OF LATEST TECHNOLOGY NEWS
Straight to your inbox
Subscribe to our newsletter