使用WSL在Win10下跑Linux === ###### tags: `WSL` `Linux` `Ubuntu` :::info :mage: 想學Linux卻沒有多餘的電腦,那來試試WSL吧 ::: 學習動機 --- 新公司得在Linux的環境下編譯程式,完全Linux小白的我、灌上虛擬機安裝了Ubuntu 卻覺得這東西實在太吃ram,操作起來總是覺得卡卡的不順。 找了找有種東西叫==WSL==(Windows Subsystem Linux) 可以讓我在熟悉的Windows下作業,用起來也可以達到我的工作需求。 安裝 --- ### Step 0-Open Windows-Subsystem-Linux feature in PowerShell  ```shell Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux ```  The system will reboot in the first time ### Step 1-Download Ubuntu in Mircosoft store  enter username & password  ### Step 2-update & upgrade ```shell sudo su apt-get update apt-get upgrade -y ``` 這樣就結束啦,那些黑黑的東西就是Linux呢:satisfied:
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up