Ubuntu-based Bash Shell could be installed on Windows 10 in case you do intend to run Linux software directly on Windows. Here we show you how
In Windows 10’s Anniversary update, Microsoft introduced a “Linux Subsystem for Windows” which is a big new feature for developers. However, if you are using 64-bit Windows 10 Insider preview, then you can easily install the Bash shell.
To Install Bash first you need to enable Insider Preview builds to get this feature before the Anniversary Update is officially released. To enable it, go to Settings and click on Windows Update option>advanced options.
In the advanced options, click on Get started button under the Get Insider Preview Builds option.
Once you have enabled Insider to build, go to Settings app and click on Update & Security > For Developers. Activate the “Developer Mode”.
After enabling Developer mode, open the Control Panel, click “Programs,” and then click on “Turn Windows Features On or Off” under Programs and Features. Enable the “Windows Subsystem for Linux (Beta)” option in the list here and click on “OK.” Once it’s done, you will get a reboot pop-up. Just click on the “Restart Now” option.
After your computer restarts, click on the Start button and type “Bash”, and press “Enter.”
When you run it for the first time it will ask you to accept the terms of service; just type Y to accept and continue.
After successful installation, open the Ubuntu Bash shell to run the commands. To run Bash, just open your Start menu and search for “Bash” or “Ubuntu”. The Bash shell you get here is based on Ubuntu which means you can use apt-get command to install software from Ubuntu repositories.
You cannot use Sudo command in this Bash shell because you are already using the system under administrative privileges. You can install the software by using apt-get command but you can access them only through the Bash shell.