Windows 10: Installing and Running BASH on Windows 10 (Build 14316)

Discus and support Installing and Running BASH on Windows 10 (Build 14316) in Windows 10 Software and Apps to solve the problem; I have been using Ubuntu BASH on Windows 10 for a couple of days now, and here are a couple of real quick observations. Contrary to what the OP said,... Discussion in 'Windows 10 Software and Apps' started by badrobot, Apr 7, 2016.

  1. Rocky Win User

    Installing and Running BASH on Windows 10 (Build 14316)


    I have been using Ubuntu BASH on Windows 10 for a couple of days now, and here are a couple of real quick observations. Contrary to what the OP said, there is no need for SUDO on BASH in Windows 10, when you open BASH you are already root. This is wrong and goes against everything that Ubuntu and Linux in general stands for.

    Also, I have used this app to try a lot of different things and some commands just don't work. Like

    top

    it does not do anything in BASH on Windows 10 but it is a handy command in an actual Ubuntu installation.

    I think that this app is a joke and I can't see any practical use for it, but I am still playing with it to come to grips with its function.
     
    Rocky, Apr 7, 2016
    #16
  2. badrobot Win User

    @Rocky , all the "sudos" I did above are not for Windows 10. I was controlling my Raspberry Pi running Rasbian OS remotely on Windows 10. I said "sudo away" to connote start using bash. It's an expression for Linux geeks.
     
    badrobot, Apr 7, 2016
    #17
  3. Rocky Win User
    Cool, sounds good to me.
     
    Rocky, Apr 7, 2016
    #18
  4. caperjack Win User

    Installing and Running BASH on Windows 10 (Build 14316)

    I got it to connect to the Pi today ,all is a go now ! upward and onward .lol
     
    caperjack, Apr 7, 2016
    #19
  5. badrobot Win User
    Time to sudo-away!


    Installing and Running BASH on Windows 10 (Build 14316) [​IMG]
     
    badrobot, Apr 7, 2016
    #20
  6. caperjack Win User
    if I switch my Pi, and try to connect to another one, I get this message , I rebooted windows ,no difference ,I know the host is different I changed it ,,,any ideas ..
     
    caperjack, Apr 7, 2016
    #21
  7. badrobot Win User
    @caperjack , I can't replicate your issue. I've tried connecting my 2 Pi's and I was able to connect both of them at the same time. And both are in use (playing music)...


    Installing and Running BASH on Windows 10 (Build 14316) [​IMG]
     
    badrobot, Apr 8, 2016
    #22
  8. badrobot Win User

    Installing and Running BASH on Windows 10 (Build 14316)

    I also used "Bash on Ubuntu" window and still okay. I just finished updating both Pi's..



    Installing and Running BASH on Windows 10 (Build 14316) [​IMG]
     
    badrobot, Apr 8, 2016
    #23
  9. Mystere Win User
    Remember this is a beta... and root is likely perfectly fine given that it's a virtual environment...

    I imagine that most tools that deal with processes and what not would not work, or it might be because the tty is not configured in a way that top likes. Remember, it's a beta.

    There are many valid uses I can think of. Windows has had a Subsystem for Unix for years to allow you to run posix commands under Windows. Imagine running perl scripts or python.. without having to rewrite them for Windows...
     
    Mystere, Apr 8, 2016
    #24
  10. jimbo45 Win User
    Hi there
    Can you install services on it -- I'd like to see if the excellent MPD (Music Player Daemon) works -- be great if I could run that from a windows console.

    However installing XRDP on the Linux host and simply accessing the Linux host directly via Windows RDP seems to negate the whole point of Bash on Windows - so is it a really useful function or will it be just a Toy.

    What would be nice if you had a whole Linux Virtualized environment built in including a GUI -- Linux can be made really small so the overhead shouldn't be too much at all.

    Cheers
    jimbo
     
    jimbo45, Apr 8, 2016
    #25
  11. Remote desktop works great if your logging into the full Raspbian on a Pi. Once you install XRDP. If it's running OPENELEC/KODI though, its not so easy, if even possible. I haven't been able to make it work. I only just started trying about 10 min ago. Everything I read says you can't do it from Windows Remote Desktop. I'll have to plug my spare tower in and install the latest preview with BASH and give that a go.
     
    alphanumeric, Apr 8, 2016
    #26
  12. badrobot Win User

    There's no problem installing services. I was able to install mpc, mpd, moc but it doesn't detect a sound driver. I have yet to go back and try to resolve that. Maybe you can help us figure it out.


    XRDP is good if you are not used to working on terminal screens and you rely on tools and icons (GUI) or if you are using office tools, etc. but SSH can also accomplish a lot if you know what you are doing.
     
    badrobot, Apr 8, 2016
    #27
  13. jimbo45 Win User

    Installing and Running BASH on Windows 10 (Build 14316)

    Hi there
    I'll have a go - I'm currently rebuilding a NAS box to use Esxi and a number of VM's this weekend. When I've done that I'll have a go with the latest build. I've got a spare machine I can use for this so it doesn't matter if I totally hose it up.

    Mpd would be great as it can run command line - doesn't need a GUI. I'll see about the sound problem. Be later in the week though -- want to get my NAS server up and running again first.

    Cheers
    jimbo
     
    jimbo45, Apr 9, 2016
    #28
  14. lx07 Win User
    I have just enabled this feature in 14342 and it appears this has changed.

    After downloading Ubuntu from the store it prompts you to create a user and password. When you open bash it no longer opens root@localhost but yourname@yourWindowsPC. And you do have to use sudo now.


    Installing and Running BASH on Windows 10 (Build 14316) [​IMG]


    However through windows you have full control to %localappdata%\lxss\rootfs so it seems these authorities only apply to the bash side of things.


    Installing and Running BASH on Windows 10 (Build 14316) [​IMG]
     
  15. Cliff S New Member
    I found this video today on YouTube:
    [youtube]DmsJHocTt84[/youtube]
     
    Cliff S, Jul 1, 2016
    #30
Thema:

Installing and Running BASH on Windows 10 (Build 14316)

Loading...
  1. Installing and Running BASH on Windows 10 (Build 14316) - Similar Threads - Installing Running BASH

  2. Trying to install Bash on Windows 10

    in Windows 10 Installation and Upgrade
    Trying to install Bash on Windows 10: This is the up to date Windows 10. I got as far with the BASH installation as clicking on the Bash icon waiting to be asked if I want to install Ubuntu. A black window appears and promptly vanishes before doing anything useful. Help! Thankyou peter...
  3. Installing Ubuntu bash on Windows 10 anniversary update

    in Windows 10 Installation and Upgrade
    Installing Ubuntu bash on Windows 10 anniversary update: I have a Windows 10 laptop which has the Anniversary update.I want to install the Ubuntu bash on it.I am on metered connection so I don't wanna upgrade from Anniversary update to fall creator update right now.I saw many sites that i need to turn on devloper mode in update...
  4. Installing Ubuntu bash on Windows 10 anniversary update

    in Windows 10 Installation and Upgrade
    Installing Ubuntu bash on Windows 10 anniversary update: I have a Windows 10 laptop which has the Anniversary update.I want to install the Ubuntu bash on it.I am on metered connection so I don't wanna upgrade from Anniversary update to fall creator update right now.I saw many sites that i need to turn on devloper mode in update...
  5. Card reader problem with build 14316

    in Windows 10 Drivers and Hardware
    Card reader problem with build 14316: Since this update my card reader caused me considerable grief, 15-20 mins to boot. This was a card powered by a PCI card. Removing the PCI card and card reader solved the problem. So I bought a reader that plugged into a USB 2 header on my motherboard, but this does not work...
  6. UWP app icons in Windows 10 build 14316 are corrupt

    in Windows 10 Software and Apps
    UWP app icons in Windows 10 build 14316 are corrupt: Pic: Screenshot - e3291153f0df01ad3d2174770a3e7379 - Gyazo As you can see, the Win32 app icons are completely fine, but all of the UWP app icons are corrupted. They almost appear as if they're running in some sort of safe mode. Any suggestions? 47775
  7. Failed update to 14316

    in Windows 10 Installation and Upgrade
    Failed update to 14316: Windows 10 Insider Preview 14316 - Error 0x80240031 Is there a way of clearing this error so I can try to download the update again.... *Mad 46650
  8. Problems With Sleep With New Build 14316

    in Windows 10 Support
    Problems With Sleep With New Build 14316: Hello All, I never had problems before with this computer and testing different preview builds, but this new one has really given me some sleep issues. The computer does not automatically go to sleep so I have to manually make it go to sleep. That is just one issue and not...
  9. Announcing Windows 10 Insider Preview Build 14316

    in Windows 10 News
    Announcing Windows 10 Insider Preview Build 14316: Tweet — Twitter API (@user) date[/quote] Hi everyone, Today we are releasing Windows 10 Insider Preview Build 14316 to Windows Insiders in the Fast ring. At Build 2016 last week, we shared new experiences and new opportunities we’re creating for developers...
  10. Microsoft set to announce bash on Linux running on Windows 10

    in Windows 10 News
    Microsoft set to announce bash on Linux running on Windows 10: Microsoft’s Build 2016 developer conference starts tomorrow, March 30, 2016, and some details on Build events are already starting to leak out on Twitter. Specifically, Microsoft plans to show Bash running on Ubuntu Linux on Windows 10 during Build 2016. Originally, Tero...