Where can I find the jetson-side demos and libraries?

I’m not using JetPack, because my host is upgraded to 17.10 and JetPack refuses to unpack either on this OS, or inside a docker image based on 16.04. I’ve downloaded the separate sources, and flashed Linux4Tegra 28.1 to my TX2, using the same root file system. So far, it works fine.
(Well, the sample root file system includes stuff like libreoffice which isn’t really all that useful for most Jetson installs, but that can be uninstalled)

I also have the “factory” image available and un-tarred. Unfortunately, this doesn’t come with a “root file system,” but instead just with a completed “system.img” image file.

When looking for “apt search cuda” on the TX2, I find nothing, so apparently the NVIDIA tools and libraries aren’t in the repository configured by the sample root file system.

How can I install the jetson-side packages, such as cuda, cudnn, tensorrt, and so forth?
Is there a repository I can add to apt that will let me install this?
Should I loop-mount the system.img and extract a new root file system that way? It seems to be an Android Sparse Image, so I don’t know how to actually extract files from it.
Is there some download on the downloads section that has these packages ready, that I’ve missed?

Hi,

We don’t have too much experience on Ubuntu17.04.
This topic may give you some information:
https://devtalk.nvidia.com/default/topic/1024685/need-post-flash-instructions-for-jetson-tx1/

Thanks.

AastaLLL,

Thanks for the answer, but it doesn’t answer my question.

Ignore what version of Ubuntu I’m using. The question is: What repository/download can I use to get the packages that support TensorRT, OpenCV4Tegra, MultimediaAPI, libargus, CUDA, cuDNN, and the rest of the Jetson-accelerated software, directly onto the Jetson?

Or, as a separate question: Where can I find a “rootfs” that contains all of those packages? The example R28 rootfs does NOT contain those packages.

You have to use wget on URLs you dig out of “_installer/repository.json”. The first one to get is the CUDA repo…this is what adds a reference to a local repository from which apt/apt-get can then install things. Many packages are unavailable in any other way.

Hi,

As linuxdev mentioned, you can get the download link of each package in repository.json.

Thanks.

Thanks linuxdev.

AastaLLL: You (nvidia) really should document the appropriate paths/repositories.

For what it’s worth, here are the debs it wants to install:

http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/cuda-repo-l4t-8-0-local_8.0.84-1_arm64.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/nv-gie-repo-ubuntu1604-ga-cuda8.0-trt2.1-20170614_1-1_arm64.deb 
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libcudnn6_6.0.21-1+cuda8.0_arm64.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libcudnn6-dev_6.0.21-1+cuda8.0_arm64.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libcudnn6-doc_6.0.21-1+cuda8.0_arm64.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libopencv4tegra-repo_2.4.13-17-g5317135_arm64_l4t-r24.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libvisionworks-repo_1.6.0.253n_arm64_l4t-r24.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libvisionworks-repo_1.6.0.233n_arm64_l4t-r26.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libvisionworks-sfm-repo_0.90.2_arm64_l4t-r24.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libvisionworks-sfm-repo_0.90.1_arm64_l4t-r26.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libvisionworks-tracking-repo_0.88.1_arm64_l4t-r24.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libvisionworks-tracking-repo_0.88.0_arm64_l4t-r26.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/cuda-repo-l4t-8-0-local_8.0.84-1_arm64.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/nv-gie-repo-ubuntu1604-ga-cuda8.0-trt2.1-20170614_1-1_arm64.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libopencv4tegra-repo_2.4.13-17-g5317135_arm64_l4t-r26.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libcudnn6_6.0.21-1+cuda8.0_arm64.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libcudnn6-dev_6.0.21-1+cuda8.0_arm64.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libcudnn6-doc_6.0.21-1+cuda8.0_arm64.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/004/linux-x64/Tegra_Linux_Sample-Root-Filesystem_R21.5.0_armhf.tbz2
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/004/linux-x64/Tegra124_Linux_R21.5.0_armhf.tbz2
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/005/linux-x64/cuda-repo-l4t-r21.5-6-5-local_6.5-53_armhf.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/003/linux-x64/libopencv4tegra-repo_2.4.13_armhf_l4t-r21.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/003/linux-x64/libvisionworks-repo_1.4.3_armhf_l4t-r21.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/003/linux-x64/libvisionworks-sfm-repo_0.86.2_armhf_l4t-r21.deb
http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/003/linux-x64/libvisionworks-tracking-repo_0.82.3_armhf_l4t-r21.deb

To access this list, I did:

  1. mkdir -p /opt/jetson/jetpack/_installer
  2. cd /opt/jetson/jetpack/_installer
  3. …/wherever/JetPack-L4T-3.1-linux-x64.run --tar xvf
  4. vim start_up.sh # remove all the things testing for whether I’m on ubuntu / 16.04 but keep the rest
  5. Find a copy of libpng12.so (I found mine in the Arduino distribution; you can find it elsewhere) and point LD_LIBRARY_PATH at the directory where it is.
  6. ./start_up.sh
  7. select custom -> select “no action” for the host things and flash-disk things

Now, there is a file called “local.ini” in the _installer directory.
grep for “url”: in that file, and then further grep for “arm” in those paths.
Now you have the list of packages to download!

Hi snarky,

This repository link may change.
To keep the link up to date, we recommended user getting the latest repository.json from JetPack each time.

Thanks.

There is no “repository.json” in JetPack 3.1. There is, however, a local.ini file, which contains these URLs.
Btw: For some of these packages, there are multiple versions; I assume that the TX2 wants the latest version (r21 vs r24 vs r26, for example.)

The repository.json is generated when you first run JetPack…until then it doesn’t exist. Even on a non-Ubuntu system, where JetPack is rejected, this file gets generated (you don’t have to actually use JetPack to install anything, this is a side-effect of initial run).