Trying to install cuda-cross*.deb files on host (x86) system to cross compile pytorch python package...

Errors were encountered while processing:
 nvidia-384
 nvidia-384-dev
 libcuda1-384
 nvidia-opencl-icd-384
 cuda-drivers
 cuda-runtime-9-0
 cuda-demo-suite-9-0
 cuda-9-0
 cuda
 libcuda1-367
 nvidia-367
 nvidia-367-dev
 nvidia-opencl-icd-367
E: Sub-process /usr/bin/dpkg returned an error code (1)

The above were the errors encountered.
I am trying to cross compile inside docker with cuda-9.0. I copied all the cuda-cross* debian files and tried installing but failed.
Please let me know how to install the aarch64-linux targeted cuda libs on x86_64 device, so that I can use it to cross compile other packages.

dpkg: error processing archive /var/cuda-repo-9-0-local/cuda-cufft-cross-aarch64-9-0_9.0.252-1_arm64.deb (--install):

These errors pop up for each cross file, during

dpkg -i /var/cuda-repo-9-0-local/cuda-driver-cross-aarch64-9***.deb

Hi,

Do you find a CUDA toolkit for x86 environment with cross-compiling feature?
If yes, please use our JetPack installer:
https://developer.nvidia.com/embedded/dlc/jetpack-l4t-3_3

Select the host installation. This will solve the dependency for installation and cross-compiling.
Thanks.

Hey AastaLLL, I am trying to install JetPack inside a docker. The installation time GUI does not pop up inside. I have added display and feh (to view images) works inside the container.