Uninstall cuda toolkit-10.2

Hi there,

I installed my cuda toolkit 10.2 by using deb(network), cudnn-7.0 and libcupti-dev. But now I want to uninstall cuda toolkit 10.2. and then install cuda toolkit 9.0.

I tried to use the following commands:
sudo apt-get --purge remove cuda-10.2
sudo apt-get --purge remove cuda-10-2
sudo apt-get --purge remove cuda

But when I double check the path: /usr/local/, I can still find cuda-10.2 folder and I don’t know how to uninstall cuda-10.2 completely.

What should I do aferthat to correctly install cuda-9.0?

In addition, after I changed to cuda-9.0, would this kind of change make conflicts with the cudnn-7.0 and libcupti-dev in the future?

Many thanks!

1 Like