Offline installation to Jetpack

Hello,

I want to download the toolchain included in Jetpack and then install it under Centos 7.x
Is it possible ?

The goal is to compile\link an application under centos 7.x and then download it to Jetson running ubuntu.
Compiling under ubuntu 16.04 will be fine also. All I need is the toolchain and CUDA library.

Thank you,
Zvika

JetPack itself only runs on Ubuntu. If you download packages through this, then you’ll get a format not compatible with CentOS. On the other hand, see this (CUDA is the initial requirement for any of the other packages):
[url]https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=CentOS[/url]

There are various places to get older (or specific) versions of gcc. What tools are you looking for?

Hello,

I need gcc toolchain + CUDA library.
I prefer the newest versions.
Where can I find offline installations ?

Thank you,
Zvika

Only Ubuntu hosts are directly supported by NVIDIA. I use Fedora (a close cousin of CentOS) and download non-rpm files from:
[url]https://releases.linaro.org/components/toolchain/binaries/[/url]

Linaro makes the official packages for Ubuntu’s cross tools. The tools work on other Linux x86_64 distributions, but packaging is not provided for all distributions. The ones you are interested in are marked as “aarch64-linux-gnu”. For a kernel build you do not need the “runtime”, nor the “sysroot”. For user space cross compile the Linaro runtime and sysroot are rather limited (I tend to use a clone of my Jetson to build against…I loopback mount it on the host…I see some people use NFS mounts to make the Jetson available).

I do see some cross tool chains directly made for CentOS, but I don’t know if these will have versions you are interested in (cross tools are quite limited in availability):
[url]https://pkgs.org/download/gcc-aarch64-linux-gnu[/url]
[url]https://centos.pkgs.org/7/epel-x86_64/gcc-aarch64-linux-gnu-4.8.5-16.el7.1.x86_64.rpm.html[/url]