apt cant find tensor rt

The tensor rt installation instructions dont seem to be working…

root@Leonidas:~/Downloads# sudo dpkg -i nv-tensorrt-repo-ubuntu1804-cuda10.2-trt7.0.0.11-ga-20191216_1-1_amd64.deb 
(Reading database ... 231628 files and directories currently installed.)
Preparing to unpack nv-tensorrt-repo-ubuntu1804-cuda10.2-trt7.0.0.11-ga-20191216_1-1_amd64.deb ...
Unpacking nv-tensorrt-repo-ubuntu1804-cuda10.2-trt7.0.0.11-ga-20191216 (1-1) ...
Setting up nv-tensorrt-repo-ubuntu1804-cuda10.2-trt7.0.0.11-ga-20191216 (1-1) ...
root@Leonidas:~/Downloads# sudo apt-key add /var/nv-tensorrt-repo-cuda10.2-trt7.0.0.11-ga-20191216/7fa2af80.pub 
OK
root@Leonidas:~/Downloads# sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                            
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                                                        
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                                        
Hit:5 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease                                                           
Fetched 252 kB in 1s (414 kB/s)                                                      
Reading package lists... Done
root@Leonidas:~/Downloads# sudo apt-get install tensorrt
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package tensorrt

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89

1 Like

Hi,

It seems to be working. I was able to successfully install the TRT 7 using debian installation steps.

sudo apt-get install tensorrt

https://docs.nvidia.com/deeplearning/sdk/tensorrt-archived/tensorrt-700/tensorrt-install-guide/index.html#installing-debian

Could you please retry the fresh installation process?

Alternative solution:

  1. Try installing using tar installation
    https://docs.nvidia.com/deeplearning/sdk/tensorrt-archived/tensorrt-700/tensorrt-install-guide/index.html#installing-tar
    2)I will recommend you to use NGC to reduce any host-side dependencies.

Thanks

The tar installation seems to have worked, though there are plenty of paths to figure out now