归档:How to install Linux Bash on Windows 10 [EASY WAY]

298 阅读1分钟

note from windowsreport.com/linux-bash-…

prerequisites

If you can meet all these prerequisites, you can now freely install the Linux Bash on your Windows 10 computer.

  • run at least Windows 10 version 1607
  • Secondly, you need to run a x64 system

prepare

But before you actually install Bash on your computer, you need to prepare it. And here’s how to do that:

  • Open the Windows 10 Settings app.
  • Go to Update & security > For Developers.
  • Under Use developer features, select the Developer mode option.
  • restart your computer.
  • open Control Panel.
  • Click on Programs > Turn Windows features on or off.
  • Check the Windows Subsystem for Linux (Beta) option, and click OK.
  • restart it once again

setup

Once you’ve prepared your computer for the Linux Bash, you can finally enable this feature. Just follow these instructions:

  1. Run cmd.exe

  2. issue the command ,bash.exe

  3. you will see console:

    C:\Users\Administrator.DESKTOP-70OA76Q>bash 执行 Linux 程序的 Windows 子系统没有已安装的分发版。 可以通过访问 Microsoft Store 来安装分发版: aka.ms/wslstore

  4. visit aka.ms/wslstore ,选择ubuntu,点击安装

  5. Run bash.exe 设置新的用户名和密码,进入bash

job completed.