---
# System prepended metadata

title: '修140.114.76.175 專題生GPU(裝cuda 10.2 driver 440, 再升級成driver 470)'

---

# 修140.114.76.175 專題生GPU(裝cuda 10.2 driver 440, 再升級成driver 470)
+ 先用浩榮的那份medium(https://medium.com/@pydoni/how-to-install-cuda-11-4-cudnn-8-2-opencv-4-5-on-ubuntu-20-04-65c4aa415a7b)
    + 執行前面就好, 把東西先刪光
+ 再跟著執行 https://medium.com/@anarmammadli/how-to-install-cuda-10-2-cudnn-7-6-5-and-samples-on-ubuntu-18-04-2493124478ca
    + 執行到nvidia-smi會不成功
+ ![](https://i.imgur.com/knliHcK.png)
    + 執行1., 2., 4.
+ sudo reboot
+ 這邊執行nvidia-smi一樣不會成功
+ ![](https://i.imgur.com/Rxto3mB.png)
    + 跟著執行這三行
+ reboot完nvidia-smi就能正常使用
+ 接著再把 https://medium.com/@anarmammadli/how-to-install-cuda-10-2-cudnn-7-6-5-and-samples-on-ubuntu-18-04-2493124478ca 剩下的cudnn裝完
+ 應該就能成功裝好了
