CudNN 8.6.0 installation issue (ubuntu 20.04 - arm64 architecture)

I am trying to install CuDNN version 8.6.0 , where i am having issue running
sudo dpkg -i cudnn-local-repo-ubuntu2004-

My system is a

ubuntu 20.04
Cuda 11.4 (already installed)
aarch64 - ($ uname -m) -> hence went for arm64.deb download
I downloaded the cudnn-local-repo-ubuntu2004-

------which then prompted to run the key

~/tk_ws$ sudo dpkg -i cudnn-local-repo-ubuntu2004-
Selecting previously unselected package cudnn-local-repo-ubuntu2004-
(Reading database ... 181126 files and directories currently installed.)
Preparing to unpack cudnn-local-repo-ubuntu2004- ...
Unpacking cudnn-local-repo-ubuntu2004- (1.0-1) ...
Setting up cudnn-local-repo-ubuntu2004- (1.0-1) ...

The public cudnn-local-repo-ubuntu2004- GPG key does not appear to be installed.
To install the key, run this command:
sudo cp /var/cudnn-local-repo-ubuntu2004- /usr/share/keyrings/

-----I did run,

sudo cp /var/cudnn-local-repo-ubuntu2004- /usr/share/keyrings/

-----then reran the

sudo dpkg -i cudnn-local-repo-ubuntu2004-

------but it doesnot look like properly installed.

------with some research , also did run the following command, which worked for most people.
------ but unfortunately did not work for me.
sudo cp /var/cudnn-local-repo-ubuntu2004- /usr/share/keyrings/cuda-archive-keyring.gpg

Seeking for help.


Hi @karishmathumu ,
I would recommend you to follow the steps from the document.
Please let us know if you still face the issue.


It is working now.

Thank you