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.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容