由于需要安装cuda8.0,,所以需要卸载cuda7.5.
在/usr/local/cuda/bin
目录下,有cuda
自带的卸载工具uninstall_cuda_7.5.pl
cd /usr/local/cuda/bin
sudo ./uninstall_cuda_7.5.pl
剩下步骤
步骤如下:
1.安装显卡驱动
- sudo apt-get update
- sudo apt-get upgrade
- sudo add-apt-repository ppa:graphics-drivers/ppa
- sudo apt-get update
- sudo apt-get install nvidia-367
- sudo apt-get install mesa-common-dev
- sudo apt-get install freeglut3-dev
重启一下,使驱动生效,并使用以下命令测试驱动是否安装成功。