About

CUDA is a parallel computing platform and application programming interface model created by Nvidia. It allows software developers and software engineers to use a CUDA-enabled graphics processing unit for general purpose processing — an approach termed GPGPU.

CUDA is a parallel computing platform and application programming interface model created by Nvidia. It allows software developers and software engineers to use a CUDA-enabled graphics processing unit for general purpose processing — an approach termed GPGPU.

 

CUDA Network installation

$ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-ubuntu1604.pin
$ sudo mv cuda-ubuntu1604.pin /etc/apt/preferences.d/cuda-repository-pin-600
$ sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
$ sudo add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/ /"
$ sudo apt-get update
$ sudo apt-get -y install cuda && sudo apt-get install cuda-10-1 cuda-toolkit-10-1 cuda-tools-10-1 cuda-runtime-10-1 cuda-compiler-10-1 cuda-libraries-10-1 cuda-libraries-dev-10-1 cuda-drivers

$ cat > /etc/modprobe.d/blacklist-nouveau.conf

$ cd gedit /etc/modprobe.d/blacklist-nouveau.conf

// Please enter the following lines below in the document

blacklist nouveau
options nouveau modeset=0
$ sudo reboot

CUDA UNINSTALL

Ubuntu

To remove CUDA Toolkit:

$ sudo apt-get --purge remove "*cublas*" "cuda*"

To remove NVIDIA Drivers:

$ sudo apt-get --purge remove "*nvidia*"