1. Windows Central Question's Avatar
    I installed build 14328 and added bash. Love bash! However, on my installation apt-get is missing:
    bash: apt-get: command not found

    I haven't seen other people having this issue, but I'm not sure what to do. This morning I updated to the newest build, 14332, but that didn't help.

    I tried uninstalling bash by going into Windows features and unchecking the Ubuntu on Windows checkbox, but while that did have me reboot, it didn't actually remove bash, and it didn't make apt-get appear. When I went back to Windows features, the checkbox was still unchecked. I checked it again, and it had me reboot again, but apt-get still did not appear.

    Any theories on why apt-get might be missing?
    04-27-2016 11:01 AM
  2. kobenauf's Avatar
    OK I found the problem. I have a version of git bash installed on my machine already. When I installed the Windows Linux subsystem, it downloaded things and had me create a user. Great. But then every time I ran bash from the start menu (by typing 'bash') it was finding and running git bash, not Windows bash. Once I deleted git bash I was, running 'bash' opened the Windows bash, and commands like 'sudo' and 'apt-get' started working. Rather than delete git bash I probably could have checked if it was in my PATH and removed it, but either way, the problem is solved.
  3. pdaneophyte's Avatar
    Space between apt & -get
    04-27-2016 11:11 AM
  4. kobenauf's Avatar
    Good idea, but no. I've been trying no spaces "apt-get" but I tried "apt -get" in case there was a strange implementation here, but that didn't work either.
    04-27-2016 11:14 AM
  5. pdaneophyte's Avatar
    Try sudo apt -get
    04-27-2016 11:23 AM
  6. kobenauf's Avatar
    Another good idea, but that fails too:
    bash: sudo: command not found
    04-27-2016 11:35 AM
  7. konradthecat's Avatar
    Apt-get shouldn't be there. Fetching and installing packages for regular Ubuntu Linux won't work and there'd be no repository for Ubuntu tools on Windows.
    04-28-2016 03:06 AM
  8. pdaneophyte's Avatar
    Er, no. Command line package install should work. It is shown apt -get does work on video at this link https://blogs.windows.com/buildingap...tu-on-windows/
    04-28-2016 09:37 AM
  9. kobenauf's Avatar
    OK I found the problem. I have a version of git bash installed on my machine already. When I installed the Windows Linux subsystem, it downloaded things and had me create a user. Great. But then every time I ran bash from the start menu (by typing 'bash') it was finding and running git bash, not Windows bash. Once I deleted git bash I was, running 'bash' opened the Windows bash, and commands like 'sudo' and 'apt-get' started working. Rather than delete git bash I probably could have checked if it was in my PATH and removed it, but either way, the problem is solved.
    jmshub and ven07 like this.
    04-28-2016 10:16 AM

Similar Threads

  1. Reply to text from action center
    By Hans Swolfs in forum Windows 10 Mobile Insider Preview
    Replies: 5
    Last Post: 04-29-2016, 02:46 PM
  2. All Of My Media Erased From My SD card on Build .218?
    By Sedp23 in forum Windows 10 Mobile
    Replies: 5
    Last Post: 04-29-2016, 02:53 AM
  3. Replies: 2
    Last Post: 04-27-2016, 08:08 AM
  4. How come I can't get the Starz app for Windows phone anywhere?
    By Windows Central Question in forum Windows Phone Apps
    Replies: 1
    Last Post: 04-27-2016, 02:16 AM
  5. How do I get the lockscreen to work on WM10?
    By Windows Central Question in forum Microsoft Lumia 640
    Replies: 1
    Last Post: 04-26-2016, 11:00 PM
LINK TO POST COPIED TO CLIPBOARD