Having two versions of CUDA GPU Toolkit SDK installed, how to remove one?
Solution 1:
To uninstall cuda-8-0:
- Uninstall CUDA
- Clean your local repo
- Clean up not needed CUDA dependencies
Do the following:
sudo apt-get remove --dry-run cuda-8-0
sudo apt-get autoclean
sudo apt-get autoremove
If you have cuDNN packages installed use:
dpkg -l | grep libcudnn*
To remove unwanted packages use:
dpkg --purge <package name>