CUDA version upgrade from 10.2 to 11.2


I am using Jetson Xavier NX device for time series data forecasting purpose. The current CUDA version of this device is 10.2 and I need >=11.2 CUDA version. I am following these commands to upgrade the version.

But I got an error while executing sudo dpkg -i cuda-repo-ubuntu1804-11-2-local_11.2.0-460.27.04-1_arm64.deb command and error is as below.

sudo dpkg -i cuda-repo-ubuntu1804-11-2-local_11.2.0-460.27.04-1_arm64.deb
(Reading database … 188712 files and directories currently installed.)
Preparing to unpack cuda-repo-ubuntu1804-11-2-local_11.2.0-460.27.04-1_arm64.deb …
Unpacking cuda-repo-ubuntu1804-11-2-local (11.2.0-460.27.04-1) …
dpkg: error processing archive cuda-repo-ubuntu1804-11-2-local_11.2.0-460.27.04-1_arm64.deb (–install):
cannot copy extracted data for ‘./var/cuda-repo-ubuntu1804-11-2-local/nvidia-kernel-source-460_460.27.04-0ubuntu1_arm64.deb’ to ‘/var/cuda-repo-ubuntu1804-11-2-local/nvidia-kernel-source-460_460.27.04-0ubuntu1_arm64.deb.dpkg-new’: failed to write (No space left on device)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:

I mounted a SSD (which has 157 GB disk free) because of the in-built space issue with the device and I am extracting the files in the mounted folder. But I am getting “No Space” error and when I checked the available space in /dev/root is around 1 GB.

Am I doing this wrong? Do I need to uninstall the current CUDA version first?
Is it possible to upgrade CUDA version in Jetson Xavier NX?

Appreciate if anyone can help on this.

Thank you

The methodology to update the software on a Jetson device is via Jetpack or via the SDK manager. Please ask your Jetson install questions on the appropriate Jetson forum.

Thank you

It would be great if anyone can tell me whether 11.2 CUDA version is compatible with Jetson Xavier NX or not?

We have the corrosponding CUDA version to work with Jetson platform.
For JetPack 4.6.1, it’s CUDA 10.2.
For JetPack 5.0.1 DP, it’s CUDA 11.4.4.

You can only install it via the JetPack.

Thank you.

I got an output for “sudo apt-get -y install cuda” command as below.

It is showing that cuda version but with unmet dependencies. As per the dependencies it shows that it won’t be installed as well.

Does this mean cuda installed in the device? (I am not getting cuda version for nvcc --version command. )


There are some dependencies between OS and CUDA on Jetson.

Please make sure you are using r34.1.1 for the CUDA 11.4.
It’s recommended to reflash and install the components with JetPack 5.0.1 DP to get a clean environment.


Thank you for the comment