CUDA-Z
A easy tool that collects your graphic card info.
Download Legacy Nvidia Graphic Card Driver
Nvidia Driver & CUDA Uninstall
- 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*
-
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.