歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 安裝Bash on Windows(Ubuntu on Windows 10)

安裝Bash on Windows(Ubuntu on Windows 10)

日期:2017/2/28 13:46:03   编辑:Linux教程

安裝Bash on Windows,首先要確保你的計算機為17393版本的Windows 10,也就是一周年紀念版。

1 打開Windows設置,點擊更新和安全。

2 點擊針對開發人員,選擇開發人員模式。

3 在設置種輸入“Windows 功能”然後打開

4 在“適用於Linux的Windows子系統”前打勾

5 管理員身份打開“powershell”,默認地址是“C:\Users\XXX\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell”下。

6 輸入命令”Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux“

##

接下來,你就可以在cmd或者是powershell或者是直接搜索bash來運行了。

Copyright © Linux教程網 All Rights Reserved