How To Install Ubuntu Bash Shell On Windows 10

how to fit windows 10
Whether you like to geek around with this particular or for serious work/developement/learning/testing purposes, it is really an interesting choice for users of Windows 10. The Add-On feature, which Microsoft calls “Windows Subsystem for Linux” (WSL) and it also runs a real Ubuntu user-mode image enabling you to run native Bash shell and execute bash scripts or run command line tools right from Within your Windows environment. As the feature is added to Windows 10 just lately, this post will educate you on about the details and the ways to activate/install - How to Install Ubuntu Bash Shell on Windows 10.

The idea isn't new, but previously you had to put in some kind of desktop virtualization product for example VMware Workstation, Fusion or Player. Then only you could install your Linux distribution finally, enjoy yourself with Linux. Now, this bash shell is kind of tightened with W10 as possible access the main Windows file system to function on your documents or have a very network usage of the Bash shell.

It just isn't a virtual machine, it is just not a container. It's a real native Bash environment to own Linux apps and commands on Windows. It is for sale in the Windows Store, and yes it provides a full Ubuntu image that runs in userspace to be a program in your desktop. Programs compiled for Linux runs and never having to be recompiled for Windows. You can use Ubuntu’s apt-get command to download and install programs, etc, etc.

BASH is often a popular text-based shell and command-language. It is the default shell included within Ubuntu along with Linux distros plus OSX. Users type commands in to a shell to try and do scripts and/or run commands and tools to perform many tasks.

What are you looking to add this for a Windows 10 x64?



(yes, only x64 versions of Windows are supported).

  • The new ‘Windows 10 Anniversary Update’ installed (examine the version people Windows > Press Win+R > Type winver > PressEnter. Anniversary update has 1607 build number. You should see Version 1607 (OS Build 14393.10) or HIGHER.


  • A Windows 10 x64 version running on the PC


Step 1: Enable developer Mode - Go to Settings (WIN-I key) > Update & Security > For Developers > Select Developer Mode option. After confirming sit-ups and crunches the packages are downloaded in the shadows (identify that little animation).

You'll have to confirm this as it is usually a certain security risk. Running apps without worrying about benediction of Microsoft??? -:)

This process can take few seconds.



Step 2: Add the Windows subsystem for Linux (WSL) via Add/remove programs.

You'll must reboot.



After reboot, you will soon open the Bash shell by typing Bash via Cortana search box or you can also invoke the bash command via cmd line.

how to setup windows 10You'll ought to type “y” to just accept and continue. The system will download the App from Windows store.

Then you're inspired to create a Unix user and offer a password.



This will it be.

Now you can certainly add the shortcut towards the start menu. (Via right-click > Pin to get started on)



You can examine the executable as of this path:

C:WindowsSystem32bash.exe



So, this would it be. Don’t expect a graphical Linux desktop, the feature is targeting developers and coders.

You can easily still do rather a lot. Things which previously wasn't possible within native Windows environment. You'd have to put in a VM or at best Cygwin. Now you can:

  1. Run usual command-line utilities ( grep, sed, and awk )


  2. Navigate from the file system by making use of these commands


  3. Run Bash shell scripts which depend upon supported command-line utilities


Quote from MSDN:



Windows is running Ubuntu user-mode binaries supplied by Canonical. This means the command-line utilities are the same as the ones that run in just a native Ubuntu environment.

Yes, it's pretty cool. Who would picture this few years back!

Next Post Previous Post
No Comment
Add Comment
comment url