Page 1 of 4 123 ... LastLast

  1. Joined : Nov 2013
    Toronto
    Posts : 4,289
    Win 10 Pro x64
       07 Apr 2016 #1

    Installing and Running BASH on Windows 10 (Build 14316)


    So I went ahead and installed BASH to see if it will be of any use to me as as Linux and Raspberry Pi enthusiast.

    It's very easy.

    First, make sure that "Developer Mode" is enabled under Settings>>>Update & Security>>>For Developers





    Then go to Turn Windows features on or off and find "Windows Subsystem for Linux (Beta)" and tick to enable it.


    Click image for larger version. 

Name:	enabale_bash.PNG 
Views:	7 
Size:	98.8 KB 
ID:	73662


    Restart your PC.

    Now, to install BASH open a command prompt and type "bash" (w/o the quotation marks).

    Click image for larger version. 

Name:	bash_install.PNG 
Views:	4 
Size:	127.7 KB 
ID:	73663

    When you have BASH installed, there are 2 ways to open it. First is to open a command prompt and type "bash". And second, you can just go to the Start Menu and open "Bash on Ubuntu on Windows".



    And it will open up this window...





    That's it... you are ready to "sudo" away...

    Now to test this feature the first thing I did was try to connect remotely to my Raspberry Pi (in the other room) a la SSH terminal window. Just type "ssh pi@xxx.xxx.x.xxx" where the X's correspond to your Pi's IP address. And presto! Goodbye PuTTY!

    Click image for larger version. 

Name:	windows10_ssh_terminal.PNG 
Views:	79 
Size:	152.8 KB 
ID:	73665

    I mounted my NAS to the Pi and opened up "Media-On-Console" (MOC) on the Pi..

    Click image for larger version. 

Name:	mount_NAS.PNG 
Views:	5 
Size:	64.8 KB 
ID:	73666

    And now I can play my music from my NAS to the Raspberry Pi...

    Click image for larger version. 

Name:	play_music.PNG 
Views:	5 
Size:	144.1 KB 
ID:	73667

    Or play my internet radio on the Pi remotely from my desktop PC.

    Click image for larger version. 

Name:	play_internet_radio.PNG 
Views:	5 
Size:	132.5 KB 
ID:	73668

    These are just simple tasks just to test running BASH natively on Windows 10.
    Last edited by badrobot; 08 Apr 2016 at 09:56.
      My System SpecsSystem Spec


  2. Joined : Mar 2014
    Cape Breton Nova Scotia ,Canada
    Posts : 2,919
    insider build 10586.3 win10 pro 64
       07 Apr 2016 #2

    Rebooting my win10 now to install latest updates to 14316
    edit -
    just checked it ,it must be a big update ,its installing part 1 of 3 ,first time I ever seen it do that I think
    Last edited by caperjack; 07 Apr 2016 at 19:14.
      My System SpecsSystem Spec


  3. Joined : Mar 2014
    Cape Breton Nova Scotia ,Canada
    Posts : 2,919
    insider build 10586.3 win10 pro 64
       07 Apr 2016 #3

    when I run the Bash it tell me I need to be in developer mode ,but I can find any info on how to set it to that mode. any suggestions
    I have win10 pro insider ,build 14316 rs_1 release
      My System SpecsSystem Spec


  4. Joined : Nov 2013
    Toronto
    Posts : 4,289
    Win 10 Pro x64
       07 Apr 2016 #4

    caperjack said: View Post
    when I run the Bash it tell me I need to be in developer mode ,but I can find any info on how to set it to that mode. any suggestions
    I have win10 pro insider ,build 14316 rs_1 release
    Settings>>>Update & Security >>> For Developers

    Click image for larger version. 

Name:	2016_04_08_00_48_341.png 
Views:	75 
Size:	358.0 KB 
ID:	73679
      My System SpecsSystem Spec


  5. Joined : Nov 2013
    Toronto
    Posts : 4,289
    Win 10 Pro x64
       07 Apr 2016 #5

    I am trying to find out if Media-On-Console will work on Windows. I installed MOC but I got a fatal error saying no valid sound driver. Now, I will try to install alsa-utils for audio...

    Click image for larger version. 

Name:	2016_04_08_00_50_082.png 
Views:	4 
Size:	134.8 KB 
ID:	73680
      My System SpecsSystem Spec


  6. Joined : Mar 2014
    Cape Breton Nova Scotia ,Canada
    Posts : 2,919
    insider build 10586.3 win10 pro 64
       07 Apr 2016 #6

    thanks ,I actually just found it ...been there a dozen time before ,brain dead
      My System SpecsSystem Spec


  7. Joined : Mar 2014
    Cape Breton Nova Scotia ,Canada
    Posts : 2,919
    insider build 10586.3 win10 pro 64
       07 Apr 2016 #7

    badrobot said: View Post
    I am trying to find out if Media-On-Console will work on Windows. I installed MOC but I got a fatal error saying no valid sound driver. Now, I will try to install alsa-utils for audio...

    Click image for larger version. 

Name:	2016_04_08_00_50_082.png 
Views:	4 
Size:	134.8 KB 
ID:	73680
    interesting ,I will be watching with interest ,,all new to me ,as is everything
      My System SpecsSystem Spec


  8. Joined : Mar 2014
    Cape Breton Nova Scotia ,Canada
    Posts : 2,919
    insider build 10586.3 win10 pro 64
       08 Apr 2016 #8

    could not get in, will not take my password, says incorrect, but its not it get me into the Pi, I will try some wore when I get home from work
      My System SpecsSystem Spec


  9. Joined : Jan 2014
    Oak Ridge TN, USA
    Posts : 23,939
    Windows 10 Pro x64
       08 Apr 2016 #9

    Thanks for the instructions. Very useful!
      My System SpecsSystem Spec


  10. Joined : Nov 2013
    Toronto
    Posts : 4,289
    Win 10 Pro x64
       08 Apr 2016 #10

    BunnyJ said: View Post
    Thanks for the instructions. Very useful!
    Thanks. I added one step which is enabling "Developer Mode" first.
      My System SpecsSystem Spec


 
Page 1 of 4 123 ... LastLast


Similar Threads
Thread Forum
Microsoft set to announce bash on Linux running on Windows 10
Read more at source Microsoft set to announce bash on Linux running on Windows 10
Windows 10 News
Here's how Microsoft will support Bash on Windows 10
Read more: Here's how Microsoft will support Bash on Windows 10 | ZDNet See also: Run Bash on Ubuntu on Windows | Building Apps for Windows
Windows 10 News
Dota2 lagging hard after installing some programs; Running NVIDIA
Yesterday I was playing Dota2 and everything seemed fine. Afterwards I installed Aptana Studio, Node.js, and some Microsoft Redistributable packages that it said were necessary. Now My entire computer is lagging. I can't figure out why.
Graphic Cards
Running two Windows 10
Is it possible to 64bit on one drive and 32bit on another? I tried and it ran fine for a day or two, then my drives became corrupt.
General Support
Caution if running WindowBlinds before installing Win 10
If you run Stardock Windowblinds then please uninstall it before performing an upgrade installation of Win 10. If you don't then a vertical taskbar configuration may get corrupted. This happened to me and in Win 10 a vertical taskbar takes up...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 17:35.
Find Us
Twitter Facebook Google+



Windows 10 Forums