libcudnn7-dev_7.4.2.24-1+cuda10.0_amd64.deb dpkg error

i just downloaded this CuDnn and try toi nstall “libcudnn7-dev_7.4.2.24-1+cuda10.0_amd64.deb”
i got dpkg error
sudo dpkg -i libcudnn7-dev_7.4.2.24-1+cuda10.0_amd64.deb
(Reading database … 193176 files and directories currently installed.)
Preparing to unpack libcudnn7-dev_7.4.2.24-1+cuda10.0_amd64.deb …
Unpacking libcudnn7-dev (7.4.2.24-1+cuda10.0) over (7.4.2.24-1+cuda10.0) …
dpkg: dependency problems prevent configuration of libcudnn7-dev:
libcudnn7-dev depends on libcudnn7 (= 7.4.2.24-1+cuda10.0); however:
Package libcudnn7 is not installed.

dpkg: error processing package libcudnn7-dev (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libcudnn7-dev

I am facing the same issue.
Now trying to install cuda 9.0 and compatible Cudnn library.

Tried to launch the file as installer - failed to install

Tried to install through the terminal

  • sudo dpkg -i libcudnn7-dev_7.4.2.24-1+cuda10.0_amd64.deb

I am getting the same error