Install Bash on Windows 10 (build 14316+)

Originally published at: https://bayton.org/docs/linux/ubuntu/install-bash-on-windows-10-build-14316/

After many, many years of wishing there were more Linux utilities within Windows (native SSH anyone?), Microsoft have finally developed what they call their “Windows subsystem for Linux” – what many are referring to as the equivalent of Wine for Linux. Utilising this subsystem, Microsoft have worked with Canonical to provide a bare-bones Ubuntu environment accessible through Bash. They call it “Bash on Ubuntu on Windows” and it absolutely rolls off the tongue. Although tools like Cygwin have been around far longer than I’ve worked in IT, they don’t offer the integration Bash on Ubuntu on Windows (henceforth referred to as Bash) aims to provide; one of those primary integrations being the capability for direct access to and manipulation of files and folders on the Windows partition. Similarly, as this basic Ubuntu image is installed into a directory as any other program would be, it’s just as easy to manipulate files and folders within the directories there, too. I re-enrolled onto the Insider Preview fast ring to check it out and after enabling developer mode, took a rough-and-ready video of my desktop as I enabled Bash. Unfortunately that didn’t turn out too well, so today I decided to do the installation again on a fresh VMware image, then edited it up nicely and popped a voice-over on top: NB: The error which showed up towards the end meant there was no Start entry for Bash (it’s a preview, so I guess these things happen) but running Bash from the command line will launch it in the…