---
# System prepended metadata

title: ubuntu 20.04

---

# ubuntu 20.04

安裝注音
```
sudo apt install ibus-chewing
reboot
```
---
安裝 anaconda
https://roychou121.github.io/2020/07/20/ubuntu-install-anaconda/
https://www.anaconda.com/products/distribution/download-success-pythonanywhere-alt
```
sudo apt-get update
sudo apt-get install vim wget
```

---
安裝
cocoAPI
```
sudo apt install make
sudo apt-get install gcc
sudo apt-get install build-essential
conda install git
pip install cython; pip install -U 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'
```

---
Cuda-toolkit 各版本安裝檔
https://developer.nvidia.com/cuda-toolkit-archive


---
apt-get update 報錯
https://blog.csdn.net/woshiheweigui/article/details/109200180

---


python tests/testcuda.py
    $ sudo dpkg -i cuda-repo-ubuntu1804-11-3-local/7fa2af80.deb

sudo apt-key add /var/cuda-repo-ubuntu1804-11-3-local/7fa2af80.deb

更新險卡驅動 



