Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win10 Build 14316 啟用 Linux Bash (WSL) 完整圖文教學:啟用開發者模式 → 安裝 Ubuntu 子系統 → 下載映像 → 測試指令

編輯:關於 Windows

Build 2016 大會宣布 Win10 內建 Linux Bash,Build 14316 正式可用。支援多數 Linux 指令,適合開發者除錯、學生學習。

安裝與使用

  1. 設定 → 搜尋「功能」→「開啟或關閉 Windows 功能」→ 勾選 Windows Subsystem for Linux (Beta) → 確定 → 下載安裝組件 → 立即重開機。
  2. 重開機後 Cortana 搜尋「Bash」→ Enter 啟動 → 提示來自 Ubuntu,輸入 Y 從 Store 下載映像。
  3. 下載完成提示符變 root@localhost:/mnt/c/WINDOWS/System32#,即可輸入 Bash 指令測試。

移除 Bash

  1. 常規「解除安裝」無效(控制台程式清單無此項)。
  2. 重複步驟 1 取消勾選「Windows Subsystem for Linux (Beta)」→ 重開機。
  3. 開始選單右鍵「Bash on Ubuntu on Windows」→ 系統提示找不到 Bash.exe,選「是」刪除捷徑,完成移除。
Copyright © Windows教程網 All Rights Reserved