Problem with TensorRT 8.0.1 installation

Hello. I am trying to install dependencies for the deepstream 6.0 samples docker container using
the :
https://docs.nvidia.com/metropolis/deepstream/6.0/dev-guide/text/DS_Quickstart.html

I tried to install TensroRt :
I did:
1.
$ echo “deb Index of /compute/cuda/repos/ubuntu1804/x86_64 /” | sudo tee /etc/apt/sources.list.d/cuda-repo.list
$ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
$ sudo apt-key add 7fa2af80.pub
$ sudo apt-get update

  1. Download TensorRT 8.0.1 GA for Ubuntu 18.04 and CUDA 11.3 DEB local repo package from: https://developer.nvidia.com/compute/machine-learning/tensorrt/secure/8.0.1/local_repos/nv-tensorrt-repo-ubuntu1804-cuda11.3-trt8.0.1.6-ga-20210626_1-1_amd64.deb

3.sudo dpkg -i nv-tensorrt-repo-ubuntu1804-cuda11.3-trt8.0.1.6-ga-20210626_1-1_amd64.deb

And i got the error:

How can i fix that ?

Duplicate with Deepstream6.0-samples doesnt work. libnvinfer.so.8 cannot open shared object topic.

Please discuss under the main thread.