Can`t Install CUDA from official manual

I am trying to install CUDA via this manual: Installing CUDA on Nvidia Jetson Nano - JFrog Connect

But on command: sudo tar -xjf cuda-repo-ubuntu1804-11-0-local_11.0.2-450.51.05-1_arm64.deb
I got an error:

 sudo tar -xjf cuda-repo-ubuntu1804-11-0-local_11.0.2-450.51.05-1_arm64.deb
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now

PC downloaded all file via command from manual :

 sudo dpkg -i cuda-repo-ubuntu1804-11-0-local_11.0.2-450.51.05-1_arm64.deb
(Reading database ... 190197 files and directories currently installed.)
Preparing to unpack cuda-repo-ubuntu1804-11-0-local_11.0.2-450.51.05-1_arm64.deb ...
Unpacking cuda-repo-ubuntu1804-11-0-local (11.0.2-450.51.05-1) ...
dpkg-deb (subprocess): cannot copy archive member from 'cuda-repo-ubuntu1804-11-0-local_11.0.2-450.51.05-1_arm64.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive cuda-repo-ubuntu1804-11-0-local_11.0.2-450.51.05-1_arm64.deb (--install):
 cannot copy extracted data for './var/cuda-repo-ubuntu1804-11-0-local/libcufft-dev-11-0_10.2.0.218-1_arm64.deb' to '/var/cuda-repo-ubuntu1804-11-0-local/libcufft-dev-11-0_10.2.0.218-1_arm64.deb.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:

I tried to download twice, but id didn’t help.

A “.deb” file is a package, not a bzip2 compressed archive (one uses apt or dpkg to install, not bzip2). You might already have that repository key for CUDA 10, but I’m going to have to say it won’t work anyway unless this is an Orin Nano, and not just the older Nano. Orin Nano supports CUDA 11, or with docker, CUDA 12. Old Nano works only with CUDA 10, which should already be installed or available without external files (Orin is much newer).

Normally if one were to install CUDA JetPack would be used, but the JetPack available for regular Nano is CUDA 10. This is essentially just doing what you’re doing whereby if there is no CUDA 10 repo entry, it adds that, and then uses apt to install it. So either way you would not get CUDA 11 even if you used the correct commands for installing a package.

It means, that he can`t download this package at all.

I am looking at this:

So the error in question is the .deb install. That command wouldn’t work, but even if it did, then it is proper to reject it since the package is incompatible with the hardware and o/s.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.