Little Tricks 1

CUDA-Z

A easy tool that collects your graphic card info.


Download Legacy Nvidia Graphic Card Driver

http://www.geforce.cn/drivers


Nvidia Driver & CUDA Uninstall

  1. Unistall Nvidia Driver

Press ctrl + alt + F3, login and execute

 sudo service lightdm stop

or

 sudo service gdm3 stop

to stop the desktop service and use the following command to unistall

sudo /usr/bin/nvidia-uninstall

or you can use

sudo apt-get install autoremove --purge nvidia*


  1. Unistall CUDA

     sudo /usr/local/cuda-9.0/bin/uninstall_cuda-8.0.pl
    

Then delete cuda-9.0 manually.



Ubuntu Shell file

To run .sh file, you can make it into executable by

chomod u+x file.sh

or

sh file.sh

or

  source file.sh

source command executes the shell file under the current terminal process. It keeps all variables defined in this shell file. 'sh' command ( equal to ./file.sh ) runs the shell file within a newly created subprocess which means that all variables defined in this shell file would be deprecated at the end of the subprocess.

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容