问题:
使用 runfile 安装cuda 10.1 时,出现错误,大意 installer exited with error
查看 /var/log/xxxx.log 发现 NVIDIA module already loaded in kernel,无法安装。
无效的尝试:
我的ubuntu上,更改target、modprobe 卸载nvidia 驱动,lsof查找nvdia使用设备并kill都无济于事
有效的办法:
apt purge nvidia*
apt remove nvidia*
apt autoremove
三条命令删除所有英伟达软件,然后
reboot 重启
之后就可以安装了。完美。
来源博客 【https://codeyarns.com/2017/09/04/nvidia-module-already-loaded-in-kernel/】