1.下載virtualbox https://www.virtualbox.org/wiki/Download ![](https://hackmd.io/_uploads/SybKsgxnh.png) 2.下載Ubuntu的iso ![](https://hackmd.io/_uploads/Sk3O2ggh2.png)選第五個 3.安裝virtualbox後新增ubuntu的虛擬機 ![](https://hackmd.io/_uploads/BkFbpel22.png) ![](https://hackmd.io/_uploads/rJ3LTlen3.png) ![](https://hackmd.io/_uploads/S138alehn.png) ![](https://hackmd.io/_uploads/r1n8pglh2.png) 4.設定ubuntu ![](https://hackmd.io/_uploads/B1vW0gehh.png) 在終端機輸入指令碼 sudo apt install dkms build-essential linux-headers-generic ![](https://hackmd.io/_uploads/rJmvCgl22.png) 裝置>插入Guest Additions CD映像 右上角"執行程式" 若失敗則再到終端機輸入 sudo apt install virtualbox-guest-x11 sudo VBoxClient --clipboard 即可(如果再不行就多試幾次) 5.更新 在終端機輸入 sudo apt update