Installing TensorRT on older version

Description

Hello, I am trying to install TensortRT 8.0.1.6 on Ubuntu 18.04 with Cuda 10.2. I followed this guide: Installation Guide :: NVIDIA Deep Learning TensorRT Documentation

I downloaded
nv-tensorrt-repo-ubuntu1804-cuda10.2-trt8.0.1.6-ga-20210626_1-1_amd64.deb
Up until the “apt-get install” all seemed to work well, apt keys added as expected.
But when I use the “apt-get install tensorrt” it installs the latest version(8.4.3.1-1+cuda11.6)
How can I install the desired version instead of the latest one?

Steps To Reproduce

os=“ubuntu18.04”
tag=“cuda10.2-trt8.0.1.6-ga-20210626”
dpkg -i nv-tensorrt-repo-ubuntu1804-cuda10.2-trt8.0.1.6-ga-20210626_1-1_amd64.deb
apt-key add /var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt8.0.1.6-ga-20210626/*.pub
apt-get update
apt-get install tensorrt

Hi,

Please try the TAR file installation method.

Thank you.

1 Like

Thanks, this works.

1 Like