Best way to install ROS2 Humble on Jetson AGX Xavier as of August 2025

Hello!

I would like to install ROS2 Humble within Docker (for example using nvcr.io/nvidia/l4t-base:35.4.1 as a base image), on a Jetson AGX Xavier. Since support was dropped for Isaac ROS 2.1 and the packages were deleted from the NVIDIA repository if I understand correctly, what are the alternatives of installing Humble on the specific setup? Preferably I would like to use a patched version of OpenCV 4.7 from my own fork and not rely on the default OpenCV version for Humble.

Thank you in advance!

You could refer to [Guide] Upgrading Jetson Xavier NX to Ubuntu 22.04 for ROS2 Humble Support (with Known Issues) - Jetson & Embedded Systems / Jetson Xavier NX - NVIDIA Developer Forums

@kayccc Thank you for your response! From what I understand from this guide you linked, if I successfully carry it out I would be effectively running a newer Ubuntu image on an older, probably incompatible kernel, on a production environment. In your opinion, what risks would that entail?

As you know that we don’t support newer Ubuntu on Xavier, even ROS, so you will need to overcome any issue you met, sorry for that.