Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall Cuda7.5 from ubuntu?

I have a NVIDIA jetson TX1 board. I want to install caffe on that. Based on Caffe prerequisites I installed CUDA toolkit from https://developer.nvidia.com/cuda-downloads. Later I found that this board has its own installtion description. It needs 10GB space and I do not have it since I have given some to Caffe prerequisites installations. Now I need to remove this CUDA toolkit completely. I did not find a sure way till now. Can you please help me?

I am using ubunto 14.4.+ NVIDIA jetson TX1

like image 514
user6726469 Avatar asked Nov 29 '22 23:11

user6726469


1 Answers

If you installed CUDA 7.5 using the .run :

From the manual:

4.6. Uninstallation

To uninstall the CUDA Toolkit, run the uninstallation script provided in the bin directory of the toolkit. By default, it is located in /usr/local/cuda-7.5/bin:

$ sudo /usr/local/cuda-7.5/bin/uninstall_cuda_7.5.pl

To uninstall the NVIDIA Driver, run nvidia-uninstall:

$ sudo /usr/bin/nvidia-uninstall

If you installed CUDA 7.5 using the .deb package:

$ sudo apt-get purge cuda-7.5

(I think the package name is cuda-7.5, if it does not work, try with cuda-7-5 or just cuda)

like image 178
Hopobcn Avatar answered Dec 02 '22 11:12

Hopobcn