I need cudnn 7 for my tensorflow version. But I can't delete cudnn.
Update:
daniel@tales:~$ rm -r /usr/local/cuda-6.0/lib64/libcudnn*
rm: can't delete '/usr/local/cuda-6.0/lib64/libcudnn*': didn't find this catalog
``
I need cudnn 7 for my tensorflow version. But I can't delete cudnn.
Update:
daniel@tales:~$ rm -r /usr/local/cuda-6.0/lib64/libcudnn*
rm: can't delete '/usr/local/cuda-6.0/lib64/libcudnn*': didn't find this catalog
``
If you installed cudnn with dpkg, you can simply dpkg --remove
each cudnn package. You can check which cudnn packages you installed with dpkg using dpkg -l | grep cudnn
.
There are a few posts related to this. Here I'm posting for your help. Try below options:
Just delete all related files both in /usr/local/lib
and in /usr/local/cuda/lib64
That's work for me.
In Linux, it looks like this:
rm -r /usr/local/cuda-xxx/lib64/libcudnn*
cuda-xxx stand for cuda version: e.g 7.5 or 8.0
run one of the following commands:
sudo rm -r /usr/local/cuda-7.5/lib64/libcudnn*
or
sudo rm -r /usr/local/cuda-8.0/lib64/libcudnn*
The details can be found here link-1, link-2, link-3, link-4
I checked version with:
dpkg -l | grep cuda
Should appears to you a list of libcudnn files (in my case I had libcudnn7 libcudnn7-dev).
After checked your version, simply:
sudo dpkg --remove libcudnn7 libcudnn7-dev # in my situation
But the rule is:
sudo dpkg --remove NAME_OF_YOUR_PACKAGE
After these:
sudo apt-get autoremove
sudo apt-get autoclean
For others details: NVIDIA - Forum