How to enable windows subsystem for Linux
Windows今年推出了新服務,可以在現有的windows系統中開啟ubuntu環境
只要在windows的Microsoft store中搜尋Ubuntu就可以安裝,目前看到有提供Ubuntu16.04跟Ubuntu18.04兩種版本
安裝完後直接點Ubuntu18.04會出現警告訊息
“Before installing any Linux distros for WSL, you must ensure that the “Windows Subsystem for Linux” optional feature is enabled”
方法:
- 打開設定
- 點”應用程式”
- 點左上角的”應用程式與功能”
- 再看到最右邊的相關設定,點”程式與功能”
- 跳出視窗後,點左邊的”開啟或關閉windows功能”
- 往下滑找到”適用於Linux的Windows子系統”,並勾選後點確定
- 重新開機即可