How to: Install Bash on Windows 10 Insider Preview (14316)

Bash has been released to the public on the Windows 10 Insider Preview Build 14316 and it is just being installed on my VM. This update brings in a tons of new features to Windows 10 especially the Bash that has become a serious buzz among professionals wanting to try it out. In order to install this update and make use of the Bash follow the steps below. It will further be pushed to Windows 10’s with the much speculated anniversary update.

build 14316

Click the Start Menu located on the lower left corner and choose Settings. Go to the Update & Security tab, choose For Developers and put a check on the Developer Mode.

Next, hold the Windows Key and Press R. Type appwiz.cpl and Click OK. Choose Turn Windows Features on or off from the left pane. Scroll down to the bottom and place a check on Windows Subsystem for Linux (Beta). If you don’t see “Windows Subsystem for Linux” then you’re either not running the 14316 build or you’re not on a 64-bit versions of Windows. Unfortunately, the Windows Subsystem for Linux is only available on the 64-bit versions.

Once done, reboot your system. After it has been rebooted, Hold the Windows Key and Press X. Choose Command Prompt (Admin) and type powershell in it. Once the powershell prompt appears, type bash and hit the return key.

bash on ubuntu on windows

Accept the license by keying in and press the enter key again. powershell will begin downloading bash from the Windows Store.Once it has finished downloading, it will take you to the bash prompt as (root).

bash on windows

You can also access bash by clicking the Start Menu (button) and tap/click Bash on Ubuntu on Windows.

bash windows

Following are the issues i experienced on my little use of the bash shell on windows.

1) It was slow.

2) It had DNS issues which prevented the shell to resolve names. It did not even respond to the IP address.

3) apt-get did not work.

2016-04-11_163847

After updating resolv.conf. the apt-get started working.

To update resolv.conf do;

cd /etc
nano resolv.conf

add the following two lines to the conf file.

nameserver 8.8.8.8
nameserver 8.8.4.4

2016-04-11_164440

Hit the CTRL + X key and choose to save the resolv.conf file

Kevin Arrows
Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

Expert Tip

How to: Install Bash on Windows 10 Insider Preview (14316)

If the issue is with your Computer or a Laptop you should try using Restoro which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Restoro by clicking the Download button below.

Download Now

I'm not interested