How to install a tensorflowgpu-version with lower(compatible) version of cudatoolkit and cudnn

How to install a tensorflowgpu-version with lower(compatible) version of cudatoolkit and cudnn
every time i install tensorflow-gpu with anaconda its automtically install tensorflow-gpu with
the most updated avaible version of cudatoolkit and cudnn evens if its not compatible with grapgics
card and cuda which i have already installed on my window which create a big problem later on in
simulationsfor example i have RTX3060 and i am installing tensorflow-gpu 2.5.0 i have already installed
cuda 11.1 but when I install it with anaconda as

“conda install tensorflow-gpu=2.5.0”

it will install cudatoolkit 11.3.x… and the most advanced availble cudnn

why in so hurry to close has not solved

Please check Tested build configuration details to know compatible versions of Tensorflow, CUDA and cuDNN. You can follow the instructions mentioned in this link to get the specific CUDA and cuDNN installed in your system.

Please refer this similar issue.