Carlos Vargas

Running Ubuntu natively on Windows 10

Blog Post created by Carlos Vargas on Aug 8, 2016

@Last March 2016 during the Build conference, Microsoft and Ubuntu release the news that Bash will come to Windows running natively (click here for the article).  Now the time has arrived. With the new Windows 10 Anniversary upgrade you will get access to Ubuntu running natively in your windows environment.  Let go thru the steps to enable this great new feature.

Video

Steps to Enable Windows Subsystem for Linux

1. Right Click in your Start Menu (Bottom Left side of your screen) and click Control Panel.

w10bash0

2. Click in Programs in Control Panel

w10bash0a

3. Then Click Turn Windows features on or off.

w10bash0ab

4. In your Windows Features window, scroll down until you find Windows Subsystem for Linux (Beta) and click on it.

w10bash0abc

5. The require files will be installed.

w10bash0b

6. Reboot your computer.

w10bash0c

Steps to Download Ubuntu on to Windows 10

1.  Click your start menu, then click the settings icon (Gears)

w10bash1

2. In the Windows Settings Screen click Update & Security

w10bash2

 

3. Click For Developers in the left side of the screen and then Developer mode in the right side of the screen.

w10bash3

 

4.  Click Yes in the pop up window.

w10bash4

 

5. Click the X in the top right side of your screen.

w10bash5

 

6. Now  type bash in your search window

w10bash6

7. A new command prompt will appear and ask you if you want to install Ubuntu on Windows. Press Y.  Wait a couple of seconds or minutes depending on your Internet Connection. After it installs it will ask you for your username and password for the new environment. When you finish running the installation you can type exit.

w10bash7

8. Now when you type Bash again into your search window you will see the “Bash on Ubuntu on Windows”

w10bash8

9. If you want to put the icon on your taskbar just right click on it and select Pin to taskbar.

w10bash9

10. The Ubuntu Icon will appear on your task bar.

w10bash10

11. To execute it just click on it and your Ubuntu on Windows 10 will open.

w10bash11

12. This is not running as a VM on Hyper-V . You can see that my all my VM’s are poweroff.

w10bash12

13. The binaries are installed in your %userprofile%\AppData\Local\lxss folder.

w10bash13

 

Now you can have your Windows and Linux together under one environment. Hope this was helpful for you.

What’s next?… maybe running Containers under this new environment well see.  Until next post have a wonderful day.

 

Original Post: Running Ubuntu natively on Windows 10 – Container King

Hitachi Developer Network

Outcomes