I’m having a similar problem, a few years later on Ubuntu 20.04. I downloaded the amd deb file from here, but when I run sudo dpkg -i libcudnn8-dev_8.1.0.77-1+cuda11.2_amd64.deb,
I get the error
(Reading database … 358374 files and directories currently installed.)
Preparing to unpack libcudnn8-dev_8.1.0.77-1+cuda11.2_amd64.deb …
Unpacking libcudnn8-dev (8.1.0.77-1+cuda11.2) over (8.1.0.77-1+cuda11.2) …
dpkg: dependency problems prevent configuration of libcudnn8-dev:
libcudnn8-dev depends on libcudnn8 (= 8.1.0.77-1+cuda11.2); however:
Package libcudnn8 is not installed.
dpkg: error processing package libcudnn8-dev (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libcudnn8-dev
How can I install libcudnn8? I have read the installation instructions and they do not include this step. I also can’t find a tar file to download at the link I posted.