After a few tries and errors, I could install Jetpack 4.5.1 on TX2 using the SDK Manager Docker image (Docker Images :: NVIDIA SDK Manager Documentation).
I have Ubuntu 20.04 installed on my PC, thus I had to use Docker.
However, I found that CUDA, cuDNN, OpenCV etc. were not installed.
Here is the output of the jetsonInfo script (GitHub - jetsonhacks/jetsonUtilities: Get information about the NVIDIA Jetson OS environment. Lists L4T and JetPack versions, along with major libraries.)
NVIDIA Jetson TX2
L4T 32.5.1 [ JetPack 4.5.1 ]
Ubuntu 18.04.5 LTS
Kernel Version: 4.9.201-tegra
CUDA NOT_INSTALLED
CUDA Architecture: 6.2
OpenCV version: NOT_INSTALLED
OpenCV Cuda: NO
CUDNN: NOT_INSTALLED
TensorRT: NOT_INSTALLED
Vision Works: NOT_INSTALLED
VPI: NOT_INSTALLED
Vulcan: 1.2.70
I could install CUDA with $ apt install cuda-tools-10-2
.
NVIDIA Jetson TX2
L4T 32.5.1 [ JetPack 4.5.1 ]
Ubuntu 18.04.5 LTS
Kernel Version: 4.9.201-tegra
CUDA 10.2.89
CUDA Architecture: 6.2
OpenCV version: NOT_INSTALLED
OpenCV Cuda: NO
CUDNN: NOT_INSTALLED
TensorRT: NOT_INSTALLED
Vision Works: NOT_INSTALLED
VPI: NOT_INSTALLED
Vulcan: 1.2.70
However, OpenCV build fails.
How do I install OpenCV, cuDNN, TensorRT etc?