Now that Windows 10 Anniversary Update (Win10AU) has been released, I wanted to clear up a few points:
Terminology:
- Yes, the naming of this stuff is far from optimal, but just be glad we didn't call this thing Windows Subsystem for Running POSIX, GNU and Linux Compatible Command Line Tools and Applications - WSRPGLCCLTA ;)
- Windows Subsystem for Linux (WSL) is the name of the (optional) Windows feature that provides a distro-agnostic, Linux kernel compatible, infrastructure that can load and run unmodified Linux ELF-64 binaries
- Bash.exe is the Windows executable that runs when you enter
bash
at the Windows Command-Prompt/PowerShell/etc. All it does is open a console Window and asks WSL to start-up the /bin/bash
Linux binary.
- Bash on Ubuntu on Windows is the name of the Ubuntu instance you install when you run Bash.exe for the first time after enabling developer-mode and WSL
- I often refer to Bash/WSL as a shortcut to refer to the entire feature set.
- Bash/WSL is FAR more than just the Bash prompt - it allows you to run many/most GNU/Linux user-land command-line tools directly on Windows. Thus, it allows you to run and install/manage packages using
apt-get
and dpkg
.
- Bash/WSL is a "Beta" feature in Win10AU as it's not yet complete. While it runs many tools very well, its networking stack and device support in particular need work. We're continuing to add additional capabilities for future releases as rapidly as possible
To answer @Maryann Ethan's original question:
You may be able to run what you need on Bash/WSL. If you cannot, you may want to use a VM instead as @LiveWireBT suggested
Why/when would you use Bash/WSL vs. a VM?
A Linux VM and the associated VM infrastructure (e.g. Hyper-V / VirtualBox / VMWare / etc.) consumes quite a lot of space and resources. However, a VM gives a full-fidelity Linux experience.
Bash/WSL requires FAR less resources/space and sits alongside the rest of your Windows tools, apps, etc. and can directly access files on your Windows filesystem if you wish, making it very productive, very quickly. However, Bash/WSL is very new and as yet incomplete, so you may well find incompatibilities or issues.
HTH.