Installing CUDA 11.x on Jetson Nano

Hi all -

Downloaded and installed the newest Jetson Nano SD image - jetson-nano-jp45-sd-card-image.zip

Tried to update to CUDA 11.0 (same thing happens with CUDA 11.2 update) buy:

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/sbsa/cuda-ubuntu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget http://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda-repo-ubuntu1804-11-0-local_11.0.2-450.51.05-1_arm64.deb
sudo dpkg -i cuda-repo-ubuntu1804-11-0-local_11.0.2-450.51.05-1_arm64.deb
sudo apt-key add /var/cuda-repo-ubuntu1804-11-0-local/7fa2af80.pub
sudo apt-get update
sudo apt-get -y install cuda

The last command gives these errors:

Selecting previously unselected package libnvidia-compute-450:arm64.
Preparing to unpack …/11-libnvidia-compute-450_450.51.05-0ubuntu1_arm64.deb …
Unpacking libnvidia-compute-450:arm64 (450.51.05-0ubuntu1) …
dpkg: error processing archive /tmp/apt-dpkg-install-Nja4Yz/11-libnvidia-compute-450_450.51.05-0ubuntu1_arm64.deb (–unpack):
trying to overwrite ‘/usr/lib/aarch64-linux-gnu/libcuda.so’, which is also in package nvidia-l4t-cuda 32.5.0-20210115145440

Unpacking libnvidia-gl-450:arm64 (450.51.05-0ubuntu1) …
dpkg: error processing archive /tmp/apt-dpkg-install-Nja4Yz/15-libnvidia-gl-450_450.51.05-0ubuntu1_arm64.deb (–unpack):
trying to overwrite ‘/usr/share/glvnd/egl_vendor.d/10_nvidia.json’, which is also in package nvidia-l4t-3d-core 32.5.0-20210115145440
Selecting previously unselected package libnvidia-ifr1-450:arm64.

Errors were encountered while processing:
/tmp/apt-dpkg-install-Nja4Yz/11-libnvidia-compute-450_450.51.05-0ubuntu1_arm64.deb
/tmp/apt-dpkg-install-Nja4Yz/15-libnvidia-gl-450_450.51.05-0ubuntu1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I’m uncertain how to clean this up as aptitude database is now hosed.
Is there a way to update the Nano to an 11.X version of CUDA?

Also -
After I update CUDA, can I update the Nano to Ubuntu 20.04 from the 18.04 default in the above SD card image without encountering issues?

thanks

1 Like

Hi,

Sorry that there is no CUDA 11.x support on Jetson device currently.
The limitation comes from GPU driver. Please wait for our next major JetPack update to get a compatible driver.

However, there is a sharing to run Ubuntu 20.04 with docker on Xavier.
Please check below topic for the information:

Thanks.

1 Like

Hi,
Is CUDA 11.x supported on Jetson Nano by now?
Thanks in advance.

Not yet, it will be supported in future release.

Thanks

3 Likes