Installing TensorRT on older version


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

I downloaded
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(
How can I install the desired version instead of the latest one?

Steps To Reproduce

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


Please try the TAR file installation method.

Thank you.

1 Like

Thanks, this works.

1 Like