How to install ROS 2 on a Jetson Orin: Humble on JetPack 6, Jazzy on JetPack 7
Match the ROS 2 distro to the Jetson's Ubuntu: JetPack 6.2.x runs Ubuntu 22.04, so install ROS 2 Humble; JetPack 7.2.x runs Ubuntu 24.04, so install ROS 2 Jazzy. On the Jetson, enable universe, install the ros2-apt-source package from ros-infrastructure, then sudo apt install ros-humble-ros-base (or ros-jazzy-ros-base) and ros-dev-tools. Use the desktop variant only if you need RViz on the device, and on 8GB modules build with MAKEFLAGS=-j2 colcon build --parallel-workers 1.
What you need
- A Jetson Orin (Orin Nano, Orin NX or AGX Orin, developer kit or production module) already flashed with JetPack. If it isn't, start with how to flash a Jetson Orin Nano.
- Know your JetPack line.
cat /etc/nv_tegra_releaseprintsR36for JetPack 6 (Jetson Linux 36.x, Ubuntu 22.04) orR39for JetPack 7.2 (Jetson Linux 39.x, Ubuntu 24.04).lsb_release -aconfirms the Ubuntu release. As of December 2026 the latest are JetPack 6.2.3 (Jetson Linux 36.5.2) and JetPack 7.2.2 (Jetson Linux 39.2.2). - Disk space.
ros-baseis small;desktoppulls in RViz, Qt and many GUI libraries, and a workspace with its build and install trees grows fast. On a 64GB microSD card keep an eye ondf -h /. An NVMe SSD is a better home for workspaces (see booting from NVMe). - Internet access from the Jetson to
packages.ros.org,github.com(for the apt source package) and NVIDIA's apt repository. - A laptop or PC with ROS 2 (optional) for the two-machine test, ideally the same distro as the Jetson, on the same network.
Everything below runs on the Jetson itself, over SSH or a local terminal.
Why the ROS 2 distro is tied to the JetPack version
A Jetson does not run a Jetson-specific Linux distribution in its user space. JetPack has three layers: the bootloader and UEFI firmware in the module's QSPI flash, NVIDIA's kernel and drivers (Jetson Linux, also called L4T), and on top a normal Ubuntu root filesystem plus NVIDIA's user-space libraries (CUDA, cuDNN, TensorRT, VPI, the camera stack). ROS 2 lives entirely in that Ubuntu layer and doesn't care that the kernel is NVIDIA's.
So the rule is simple: ROS 2 binary packages are built for exactly one Ubuntu LTS per distro. REP 2000, the document that sets ROS 2 target platforms up to Kilted (from Lyrical on, each release has its own supported platforms page), gives each distro a single Tier 1 Ubuntu, and Tier 1 is where the build farm publishes .deb packages for both amd64 and arm64. arm64 is what a Jetson is, so the official packages install on it the same way they install on any arm64 Ubuntu machine. Install a distro on the wrong Ubuntu and apt either can't find the packages or can't satisfy their dependencies, because they were linked against a different version of Boost, Python, OpenCV and the rest of the base system.
| ROS 2 distro | Tier 1 Ubuntu | Supported until | Jetson line (as of December 2026) |
|---|---|---|---|
| Humble Hawksbill (LTS) | 22.04 Jammy | May 2027 | JetPack 6.x (Jetson Linux 36.x): Orin family |
| Jazzy Jalisco (LTS) | 24.04 Noble | May 2029 | JetPack 7.x (Jetson Linux 38.x on Thor, 39.2.x on Orin and Thor) |
| Kilted Kaiju | 24.04 Noble | November 2026 (end of life now) | Ran on JetPack 7.x, but don't start a project on it |
| Lyrical Luth (LTS, May 2026) | 26.04 Resolute (24.04 is Tier 3: build from source) | May 2031 | No JetPack release runs Ubuntu 26.04, so no official ROS debs for a Jetson. NVIDIA builds its own Lyrical packages for 24.04 for Isaac ROS 5.x (below) |
| Rolling Ridley | Moves with development | Ongoing | For ROS developers, not for robots |
Two consequences matter for planning. First, Humble ends in May 2027, and JetPack 6 is NVIDIA's Ubuntu 22.04 line. A robot you ship today on JetPack 6 and Humble needs a plan to move to JetPack 7 and Jazzy, and on a Jetson that means reflashing (or an image-based OTA), because NVIDIA documents no apt upgrade path from Jetson Linux 36 to 39 (see how to upgrade JetPack). Second, if you are starting fresh on an Orin, JetPack 7.2 with Jazzy gives you support until 2029 on both the OS and the ROS side.
Older Jetsons follow the same logic. JetPack 5 runs Ubuntu 20.04, which matched ROS 1 Noetic and ROS 2 Foxy, both now end of life. A Jetson Nano or TX2 is stuck on JetPack 4.6 and Ubuntu 18.04. Containers are the only reasonable way to run a current ROS 2 there.
Native apt, jetson-containers or Isaac ROS: which to use
| Approach | What you get | Use it when | Watch out for |
|---|---|---|---|
| Native apt from packages.ros.org | The official binaries, the same as on any Ubuntu machine, installed in /opt/ros/<distro> | Most robots: you control the base image and want the simplest stack | The distro must match the JetPack's Ubuntu. Your workspace builds on the Jetson unless you cross-build |
jetson-containers ROS images (ros:humble-ros-base, ros:jazzy-ros-base, desktop variants) | ROS built from source on top of CUDA, cuDNN, TensorRT and OpenCV for your L4T version | You want ROS next to a GPU stack in one container, or a ROS distro the host Ubuntu doesn't match | Because ROS is built from source, add packages by building them (the image's /ros2_install.sh helper), not with apt. Prebuilt images exist only for some L4T releases; otherwise you build the image on the Jetson |
| Isaac ROS (NVIDIA) | GPU-accelerated ROS packages (NITROS zero-copy transport, stereo, visual SLAM, DNN inference, Argus cameras) in NVIDIA's dev environment | Your pipeline is perception-heavy and you want NVIDIA's accelerated nodes | Each Isaac ROS release pins a ROS distro and JetPack version (table below). Large images and an NVMe SSD recommended |
A common production layout combines them: ROS 2 from apt on the host for the robot's drivers and launch files, and the GPU-heavy perception in a container. They talk over DDS on the same machine like any two ROS processes, as long as the container shares the host's network and IPC (see the DDS section).
Isaac ROS versions move faster than JetPack. As of December 2026, per NVIDIA's Isaac ROS release notes and the getting-started page of each release:
| Isaac ROS release | ROS 2 distro | Jetson platform |
|---|---|---|
| 3.2 (December 2024, last update 3.2 Update 15 in December 2025) | Humble | Orin on JetPack 6.1, and 6.2 from 3.2 Update 1 (Ubuntu 22.04, CUDA 12.6). This is the line for a JetPack 6 robot |
| 4.0 (October 2025) to 4.5 (July 2026) | Jazzy | Jetson Thor only: 4.0 added JetPack 7.0 and AGX Thor, 4.2 added JetPack 7.1 and T4000 |
| 4.6 (August 18, 2026) | Jazzy | Added JetPack 7.2 and Jetson Orin. The Jazzy release for an Orin on JetPack 7.2 |
| 5.0 (September 2026), 5.1 (November 16, 2026, latest) | Lyrical, from NVIDIA's own Isaac ROS Buildfarm apt repository for Ubuntu 24.04 | Jetson Thor (T5000, T4000) and Jetson Orin on JetPack 7.2; 5.1 adds JetPack 7.2.1 |
So on an Orin with JetPack 7.2.x you choose: Isaac ROS 4.6 if your robot runs Jazzy, or Isaac ROS 5.x if you can move the perception container to Lyrical. Mixing distros across the DDS boundary isn't guaranteed to work, so keep both sides on one distro where you can. Two things to know about the paperwork. NVIDIA's JetPack 7.x download pages, up to and including 7.2.2, still list Isaac ROS as "Coming soon"; that line is out of date, and the Isaac ROS release notes are the source to trust. And no Isaac ROS release names JetPack 7.2.2 yet: it is an apt update inside the same Jetson Linux 39.2 line as 7.2.1, but it is not on NVIDIA's tested list.
Step 1: Set a UTF-8 locale and enable universe
ROS 2 is tested with a UTF-8 locale. JetPack's desktop image normally has one, but a minimal root filesystem or a container may be on POSIX. These are the commands from the official ROS 2 install page, identical for Humble and Jazzy:
locale # check for UTF-8
sudo apt update && sudo apt install locales
sudo locale-gen en_US en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
export LANG=en_US.UTF-8
locale # verify settings
sudo apt install software-properties-common
sudo add-apt-repository universeMany ROS dependencies live in universe, the community-maintained part of Ubuntu's archive; without it apt can't find packages that aren't ROS packages at all.
On JetPack 7.2 (Ubuntu 24.04) only: the Jazzy instructions warn that a 24.04 system whose apt sources contain only the base noble suite will hit dependency conflicts when installing ros-dev-tools. Check before you go on:
grep Suites /etc/apt/sources.list.d/ubuntu.sources
# should read: Suites: noble noble-updates noble-backports
# if not, edit the file, then:
sudo apt clean && sudo apt update && sudo apt full-upgrade -yStep 2: Add the ROS 2 apt repository with ros2-apt-source
This step changed in 2025. The old instructions downloaded a GPG key into /usr/share/keyrings/ros-archive-keyring.gpg and wrote /etc/apt/sources.list.d/ros2.list by hand. When that signing key expired on June 1, 2025, machines set up that way started failing apt update with an EXPKEYSIG error. The ROS 2 docs now install a small package, ros2-apt-source from the ros-infrastructure project, that carries both the key and the source configuration, and is itself updated through apt when a new version is released. Today's Humble and Jazzy pages show the same commands:
sudo apt update && sudo apt install curl -y
export ROS_APT_SOURCE_VERSION=$(curl -fsSL -o /dev/null -w '%{url_effective}' https://github.com/ros-infrastructure/ros-apt-source/releases/latest | awk -F/ '{print $NF}')
curl -L -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. /etc/os-release && echo ${UBUNTU_CODENAME:-${VERSION_CODENAME}})_all.deb"
sudo dpkg -i /tmp/ros2-apt-source.debRead the export and the second curl line, because this is where a Jetson can trip. The export asks GitHub for the latest release tag. The curl downloads the package built for your Ubuntu codename, read from /etc/os-release: jammy on JetPack 6, noble on JetPack 7.2. You never choose the distro here; the codename decides which ROS repository you get. That is exactly why Jazzy can't be installed this way on JetPack 6.
Migrating an older Jetson. If the Jetson was set up with the old key method, the ROS signing key migration guide (Open Robotics Discourse, May 2025) says to install the package and then remove the old files, because the old and new configuration conflict over the key and break apt:
sudo apt update && sudo apt install ros2-apt-source
sudo rm /etc/apt/sources.list.d/ros2.list
sudo rm /usr/share/keyrings/ros-archive-keyring.gpg
sudo apt updateCheck that the install succeeded before you delete anything: removing the old files without the new package leaves no ROS source at all. If apt update already fails on the expired key, it can't install ros2-apt-source from the ROS repository, so remove the two old files first and use the curl and dpkg -i commands above instead.
Step 3: Update the system first, then install ROS 2
The ROS docs ask you to bring the system up to date before installing, and the Humble page adds a warning: on Ubuntu 22.04, installing ROS 2's dependencies on a freshly installed system that hasn't been upgraded can remove critical system packages, because of early systemd and udev updates. On a Jetson, sudo apt upgrade also updates NVIDIA's L4T packages within your current release (for example 36.4.3 to 36.4.4). That is supported, but it can update the bootloader and kernel, so do it before ROS, reboot, and check the Jetson comes back cleanly. Don't run it during a demo.
sudo apt update
sudo apt upgrade
sudo rebootThen install. Use your distro name: humble on JetPack 6, jazzy on JetPack 7.2.
# JetPack 6.2.x (Ubuntu 22.04)
sudo apt install ros-humble-ros-base ros-dev-tools
# JetPack 7.2.x (Ubuntu 24.04)
sudo apt install ros-jazzy-ros-base ros-dev-tools
# the talker and listener demos used in Step 4 are not part of ros-base
sudo apt install ros-humble-demo-nodes-cpp ros-humble-demo-nodes-py # or ros-jazzy-...ros-base or desktop? ros-<distro>-ros-base is "bare bones": the communication libraries, message packages and command-line tools, with no GUI. ros-<distro>-desktop adds RViz, rqt, demos and tutorials, plus Qt and OpenGL libraries. On a robot, pick ros-base. A Jetson's CPU and GPU share one pool of memory, so every library loaded by a GUI you never look at is memory your models can't use; run RViz on your laptop. If you want the talker and listener demos used in the test below without the full desktop, install just those two packages: ros-<distro>-demo-nodes-cpp and ros-<distro>-demo-nodes-py.
ros-dev-tools brings what you need to build: colcon, rosdep, vcstool and compilers. Skip it on a production image that only runs prebuilt packages.
Finally, initialize rosdep once, so it can install the system dependencies your packages declare:
sudo rosdep init
rosdep updateStep 4: Source ROS and check that it worked
ROS 2 installs into /opt/ros/<distro> and is invisible until you source its setup script in a shell. Add it to ~/.bashrc so every new shell has it, along with the two network settings explained in the DDS section:
echo 'source /opt/ros/humble/setup.bash' >> ~/.bashrc # or jazzy
echo 'export ROS_DOMAIN_ID=10' >> ~/.bashrc # pick one per robot, 0 to 101
source ~/.bashrc
printenv ROS_DISTRO # humble or jazzy
ros2 doctor --report | head -40
ros2 run demo_nodes_cpp talkerThe talker prints Publishing: 'Hello World: 1' and counts up. In a second terminal, ros2 run demo_nodes_py listener prints I heard: [Hello World: 1]. Getting both means the C++ and Python client libraries work and DDS can talk on this machine. ros2 doctor --report lists the distro, the middleware (RMW) in use and the network interfaces it sees, which is the first thing to read when discovery misbehaves later.
Step 5: Talk between the Jetson and a laptop
Most of ROS 2 happens across machines: the Jetson runs drivers and perception, your laptop runs RViz. Run the talker on the Jetson and the listener on the laptop:
# on both machines
export ROS_DOMAIN_ID=10
printenv RMW_IMPLEMENTATION # empty means the default, Fast DDS; must match on both
# Jetson
ros2 run demo_nodes_cpp talker
# laptop
ros2 run demo_nodes_py listener
ros2 topic list # should show /chatterIf the laptop sees nothing, test multicast directly. ROS 2 ships a tool for it; run ros2 multicast receive on one machine and ros2 multicast send on the other. The receiver should print Received from xx.xxx.xxx.xx:43751: 'Hello World!'. If it doesn't, the network or a firewall drops multicast, and no ROS setting fixes that (next section). Use the same distro on both ends: communication between distros isn't guaranteed.
How DDS discovery works on Jetson networks
ROS 2 has no master. Each process is a DDS participant that announces itself by UDP multicast and listens for others on the same domain. ROS_DOMAIN_ID picks the domain (default 0), and the domain maps to a set of UDP ports. The ROS docs suggest an ID between 0 and 101 to stay clear of Linux's ephemeral port range. Two robots on the same Wi-Fi with the same ID see, and can publish to, each other's topics, so a robot on a shared network needs its own ID, set in its image and in every service unit, not just in your shell.
Once peers find each other, data flows over unicast UDP between them, and between processes on the same machine Fast DDS (the default RMW in Humble and Jazzy) can use shared memory instead of the network. That is why the same graph that works on the bench breaks in three typical places:
- Wi-Fi and multicast. Many access points rate-limit or drop multicast, and client isolation on guest networks blocks peers from seeing each other entirely. Discovery is slow or flaky while unicast traffic is fine. Large messages make it worse: a camera frame becomes many IP fragments, and losing one stalls the whole message. The ROS DDS tuning guide describes the kernel holding incomplete fragments for 30 seconds by default and suggests
sudo sysctl net.ipv4.ipfrag_time=3and a largernet.ipv4.ipfrag_high_threshfor lossy links. Better still, don't send raw images over Wi-Fi: publish compressed images, or process on the Jetson and send results. - VPNs and cellular. Most VPN overlays don't carry multicast, so discovery fails across them. Use unicast discovery: on Jazzy,
ROS_STATIC_PEERS; on Humble, a peers list in a Cyclone DDS configuration or a Fast DDS discovery server. - Containers. Fast DDS decides two participants are on the same host and switches to shared memory. A container started with
--network=hostbut its own IPC namespace then discovers the host's nodes and receives no data. eProsima's Docker guidance is to add--ipc=hostalong with--network=host, so both sides share one shared-memory namespace.
Limiting discovery is the other half. A robot's nodes rarely need to be visible to the whole office network:
| Goal | Humble (JetPack 6) | Jazzy (JetPack 7.2) |
|---|---|---|
| Keep everything on the Jetson | export ROS_LOCALHOST_ONLY=1 | export ROS_AUTOMATIC_DISCOVERY_RANGE=LOCALHOST (ROS_LOCALHOST_ONLY is deprecated since Iron) |
| Only this machine plus named peers | Middleware XML (Cyclone peers or a Fast DDS discovery server) | ROS_AUTOMATIC_DISCOVERY_RANGE=LOCALHOST plus ROS_STATIC_PEERS='192.168.1.20;laptop.local' |
| Turn discovery off | Middleware XML | ROS_AUTOMATIC_DISCOVERY_RANGE=OFF |
| Default | Whole subnet by multicast | SUBNET: whole subnet by multicast |
Those two Jazzy variables are not supported by rmw_zenoh, which has its own configuration.
Fast DDS or Cyclone DDS? Fast DDS is the default and is fine for most robots. Cyclone DDS is a Tier 1 alternative many teams prefer for its simpler configuration of peers and interfaces. Switching takes one package and one variable, and every process in the system must use the same one:
sudo apt install ros-humble-rmw-cyclonedds-cpp # or ros-jazzy-...
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
ros2 daemon stop # the CLI daemon caches the old graphFor large messages on Cyclone, the ROS tuning guide raises the kernel receive buffer limit (sudo sysctl -w net.core.rmem_max=2147483647, made permanent in a file under /etc/sysctl.d/) and sets SocketReceiveBufferSize min="10MB" in a Cyclone XML file pointed to by CYCLONEDDS_URI. If ufw is enabled on the Jetson, the ROS troubleshooting guide's rules let multicast in: sudo ufw allow in proto udp to 224.0.0.0/4 and sudo ufw allow in proto udp from 224.0.0.0/4. Scope them to your robot's network when you harden the device (see the Jetson security hardening checklist).
Step 6: Use the GPU and cameras from ROS nodes
Installing ROS 2 doesn't make anything use the GPU. ROS moves messages; your nodes decide where computation happens. On a Jetson there are three common ways in:
- Link the JetPack libraries yourself. CUDA, cuDNN and TensorRT come with the
nvidia-jetpackpackages on the host (check withsudo apt show nvidia-jetpack). A C++ node can link CUDA or TensorRT through CMake like any other library, and a Python node can import PyTorch or TensorRT. For a model, export it to a TensorRT engine and run that from your node: see YOLO with TensorRT on a Jetson and PyTorch on a Jetson. - Isaac ROS packages, which do the GPU work for you and pass images between nodes without copying them through the CPU (NITROS). That matters on a Jetson: a 1080p image copied through several nodes costs memory bandwidth that the CPU and GPU share.
- Containers with the NVIDIA runtime. A container sees the GPU only when started with
--runtime nvidia;jetson-containers runadds it for you.
CSI cameras (MIPI cameras on the carrier's camera connectors) go through NVIDIA's Argus camera stack and the ISP, not plain V4L2 like a USB webcam. Two routes into ROS: Isaac ROS's Argus camera node, or gscam, which publishes any GStreamer pipeline as a ROS image topic and is in the official repositories (ros-humble-gscam, ros-jazzy-gscam). A pipeline using NVIDIA's Argus source looks like this:
sudo apt install ros-humble-gscam # or ros-jazzy-gscam
ros2 run gscam gscam_node --ros-args \
-p gscam_config:="nvarguscamerasrc sensor-id=0 ! video/x-raw(memory:NVMM),width=1280,height=720,framerate=30/1 ! nvvidconv ! video/x-raw,format=BGRx ! videoconvert" \
-p frame_id:=cameraTest the pipeline with gst-launch-1.0 before wrapping it in ROS, so you know whether a failure is the camera or the node. USB cameras work with standard V4L2 drivers and need nothing Jetson-specific.
Step 7: Build packages on the Jetson without running out of memory
This is where most Jetson ROS installs fail. colcon builds as many packages at once as you have CPU cores, and for CMake packages it passes -j and -l equal to the core count to each one, unless MAKEFLAGS already sets a job count. So on a six-core Orin Nano, colcon can start up to six packages times six compiler processes; the load-average limit only kicks in after the load has climbed. A heavy C++ translation unit (anything with Eigen, PCL, rclcpp templates or Nav2) can need a gigabyte or more per compiler process. On an 8GB module, which shares those 8GB with the GPU and whatever else is running, the kernel's out-of-memory killer ends compiler processes and you get c++: fatal error: Killed signal terminated program cc1plus, or the whole Jetson freezes while it swaps.
Control both levels of parallelism:
mkdir -p ~/ros2_ws/src && cd ~/ros2_ws
# put your packages in src/, then install their system dependencies
rosdep install --from-paths src -y --ignore-src
# one package at a time, two compiler jobs inside it
MAKEFLAGS="-j2" colcon build --symlink-install --parallel-workers 1
# same idea, also documented by the ROS colcon tutorial for small machines
MAKEFLAGS="-j2" colcon build --executor sequential
# rebuild only what you changed
colcon build --packages-select my_driver
colcon build --packages-up-to my_bringupStart with -j2 on 8GB modules, try -j4 on 16GB Orin NX, and watch memory in another terminal with free -h or sudo tegrastats. The monitoring guide shows how to read them. Two more things free memory for a build: stop the desktop for the duration (sudo systemctl isolate multi-user.target, back with graphical.target) and close anything using the GPU.
Swap. JetPack 6 sets up compressed swap in RAM (zram) through NVIDIA's nvzramconfig service; on any release, swapon --show shows what you have. zram helps with idle pages but is still RAM. For big builds, a swap file on fast storage is the safety net that turns an OOM kill into a slow build:
sudo fallocate -l 8G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab # keep it after rebootPut the swap file on NVMe, not on a microSD card. Swapping wears flash, and SD cards wear out much faster than SSDs. On a production robot, consider removing the swap file after the build: a robot that starts swapping at runtime has a latency problem you want to see, not hide.
The real fix at scale is not to build on robots at all. Build your workspace once per release, in CI on an arm64 machine or in a container that matches the Jetson's JetPack and distro, and ship the result. Building on each robot means every robot can end up with slightly different binaries, depending on what apt had installed when it ran.
Step 8: Start your nodes at boot with systemd
A robot can't depend on someone opening a terminal. Run the launch file as a systemd service, so it starts at boot, restarts if it crashes and logs to the journal. systemd doesn't read ~/.bashrc, so the unit sources ROS and your workspace itself and sets every ROS variable explicitly:
# /etc/systemd/system/robot.service
# Replace jazzy with humble on JetPack 6.2.x. The user must already exist, and
# ros-<distro>-rmw-cyclonedds-cpp must be installed (or delete the RMW line).
[Unit]
Description=Robot ROS 2 bringup
After=network-online.target
Wants=network-online.target
[Service]
User=robot
Environment=ROS_DOMAIN_ID=10
Environment=RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
ExecStart=/bin/bash -c 'source /opt/ros/jazzy/setup.bash && source /home/robot/ros2_ws/install/setup.bash && exec ros2 launch my_bringup robot.launch.py'
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.targetsudo systemctl daemon-reload
sudo systemctl enable --now robot.service
systemctl status robot.service
journalctl -u robot.service -fexec makes ros2 launch the service's main process, so a stop or restart reaches it and its nodes instead of an idle bash. Drop the RMW line if you use the default Fast DDS, but keep the domain ID: a service and your interactive shell on different domains is a classic "the node runs but I can't see it" afternoon. Run as a normal user, not root, and add that user to the groups your hardware needs (for example dialout for serial devices, video for cameras).
Running ROS 2 on more than one Jetson
We've managed hundreds of thousands of Linux devices in the field, and ROS robots fail in the same ways as everything else once there are more than a few: version drift, full disks, devices nobody can reach. What changes when one Jetson becomes a fleet:
- Pin versions. The ROS apt repository moves forward with each sync, so two robots installed a month apart get different package versions, and an
apt upgradeon a robot can change ROS under your running code. Install from a golden image, or use the ROS snapshot repository to install a fixed set, and upgrade on purpose, one robot first. The same goes for JetPack: keep every robot on the same Jetson Linux release. - Golden image, not per-robot setup. Do Steps 1 to 4 and 8 once, capture the image, flash it to every module. Per-robot values (domain ID, robot name, calibration) go in a small config file, not in a hand-edited
.bashrc. - Ship workspaces as releases. Deploy the same CI build everywhere, restart the service and check that the expected nodes and topic rates come back before calling it done. Keep the previous build so you can switch back.
- Watch disk and logs. ROS logs under
~/.ros/logand bags fill a 64GB card faster than you expect. Rotate them, and alert on free space. - Monitor the graph, not just the process. A node can be running and publishing nothing. Measure topic rates on the robot, where they are true, rather than over a VPN.
Common errors and fixes
The messages below are copied the way they appear, so you can find yours with Ctrl+F.
E: Unable to locate package ros-humble-desktop
Why: apt has no ROS 2 repository for this machine, or not one for that distro. Usually one of: Step 2 wasn't run or sudo apt update wasn't run after it; the Jetson runs a different Ubuntu than the distro needs (Humble on JetPack 7.2's Ubuntu 24.04, or Jazzy on JetPack 6's Ubuntu 22.04, gives the same error for ros-jazzy-desktop); or the source points at the ROS 1 repository (packages.ros.org/ros/ instead of ros2).
Fix: Check lsb_release -cs: jammy means Humble, noble means Jazzy. Check apt-cache policy | grep ros lists packages.ros.org/ros2/ubuntu for that codename. If not, run the ros2-apt-source commands from Step 2, then sudo apt update. If you need the other distro, use a container (jetson-containers or Isaac ROS) or reflash to the matching JetPack.
The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>
Why: The Jetson uses the old manual setup (a keyring file plus ros2.list) with the ROS signing key that expired on June 1, 2025. The same setup with a missing key shows NO_PUBKEY F42ED6FBAB17C654. apt refuses the whole ROS repository, so ROS updates stop and new installs fail.
Fix: Switch to the package that maintains the key for you: sudo rm /etc/apt/sources.list.d/ros2.list /usr/share/keyrings/ros-archive-keyring.gpg, then run the curl and sudo dpkg -i /tmp/ros2-apt-source.deb commands from Step 2, then sudo apt update. Bake the fixed configuration into your image so newly flashed robots don't bring the problem back.
c++: fatal error: Killed signal terminated program cc1plus
Why: The kernel's out-of-memory killer ended a compiler process. colcon ran several packages at once, each with as many compiler jobs as CPU cores, and the Jetson's shared CPU and GPU memory ran out. The colcon summary then shows the package as failed with a non-zero exit code.
Fix: Build with MAKEFLAGS="-j2" colcon build --parallel-workers 1 (or --executor sequential), stop the desktop during the build, and add a swap file on NVMe as in Step 7. sudo dmesg | grep -i oom confirms it was the OOM killer. Long term, build in CI or a container and ship the result.
E: Unable to correct problems, you have held broken packages.
Why: apt found a version conflict it won't resolve on its own. On a Jetson the usual causes are a partially upgraded system (the ROS packages were built against newer Ubuntu updates than you have), a mix of NVIDIA and Ubuntu builds of the same library (OpenCV is the common one), or a ROS package meant for another Ubuntu release.
Fix: Run sudo apt update && sudo apt upgrade first, as the ROS docs require. Then let apt tell you which package blocks it: apt-get -s install ros-humble-ros-base (simulation, changes nothing) and apt-cache policy <package> on the package it names. Don't force-remove NVIDIA nvidia-l4t-* packages to make room; that breaks the Jetson. If the conflict is with NVIDIA's libraries, run that part of ROS in a container.
/parameter_events /rosout (ros2 topic list shows nothing else)
Why: The ROS CLI only sees its own default topics, so it found no other nodes. Either the nodes are on another ROS_DOMAIN_ID, use another RMW_IMPLEMENTATION, have discovery limited to localhost, or multicast doesn't reach this machine (Wi-Fi, VPN, firewall). A service started by systemd often runs with different variables than your shell.
Fix: Compare printenv | grep -E 'ROS_|RMW' in your shell with the Environment= lines of the service. Run ros2 daemon stop after changing anything, because the CLI daemon caches the graph. Test the network with ros2 multicast receive / ros2 multicast send. Across networks without multicast, use ROS_STATIC_PEERS (Jazzy) or Cyclone peers / a discovery server (Humble).
ros2: command not found
Why: The shell hasn't sourced the ROS setup script, so /opt/ros/<distro>/bin isn't on the path. Common in new SSH sessions, cron jobs and systemd services, none of which read your interactive setup the way you expect.
Fix: source /opt/ros/humble/setup.bash (or jazzy), and add it to ~/.bashrc. In a systemd unit, source it inside ExecStart as shown in Step 8. If ls /opt/ros is empty, ROS isn't installed: go back to Step 3.
E: Unable to locate package ros-noetic-desktop-full
Why: ROS 1 Noetic was built only for Ubuntu 20.04 (JetPack 5). JetPack 6 (22.04) and JetPack 7.2 (24.04) have no Noetic packages, and Noetic reached end of life on May 31, 2025.
Fix: Port to ROS 2 (Humble on JetPack 6, Jazzy on JetPack 7.2). While you migrate, run Noetic in a container on the Jetson (jetson-containers has a Noetic recipe; its prebuilt images stop at JetPack 5, so on JetPack 6 you build it) and connect it to ROS 2 with a bridge. Don't try to build Noetic from source on 22.04 or 24.04 for a robot you have to maintain.
Unable to create the rendering window after 100 tries
Why: RViz2 doesn't work with a Wayland display session. The ROS installation troubleshooting page (Jazzy) shows this error from an aarch64 machine, after rviz::RenderSystem: error creating render window and followed by terminate called after throwing an instance of 'std::runtime_error'.
Fix: Start RViz in X11 compatibility mode: QT_QPA_PLATFORM=xcb rviz2. Better on a robot: install ros-base on the Jetson and run RViz on your laptop, which also keeps GUI libraries out of the Jetson's shared memory.
Once ROS 2 runs on several Jetsons, the question becomes whether every node and topic is still alive on every robot, without SSH-ing into each one. The PhysicalFleet agent watches ROS 2 from inside each robot, read-only and with nothing added to your workspace: it never publishes and never registers a node. It works with Fast DDS and Cyclone DDS, any domain ID, localhost-only setups, static peers and discovery servers, and ROS in containers, and reports nodes, topic rates measured on the robot, lost nodes and silent topics per robot and across the fleet, with alerts and flight recordings as MCAP files. (rmw_zenoh and SROS2-encrypted graphs are not observable yet.)
The same agent ships workspaces as releases: deploy the build, restart the launch and wait for the nodes and topic rates you list before the release counts as done, with automatic rollback. It only connects out, encrypted, so robots behind NAT or on cellular need no VPN or open port. Free for up to 3 machines.
How to monitor ROS 2 remotelyVersions, commands and numbers on this page were checked against these on December 6, 2026:
- ROS 2 Humble: Ubuntu (deb packages) installation
- ROS 2 Jazzy: Ubuntu (deb packages) installation
- REP 2000: ROS 2 releases and target platforms
- ROS 2 Jazzy: Improved Dynamic Discovery (ROS_AUTOMATIC_DISCOVERY_RANGE, ROS_STATIC_PEERS)
- NVIDIA Isaac ROS release notes
- jetson-containers: ROS and ROS 2 containers for JetPack
Written by PhysicalFleet, as of December 2026. Jetson software moves fast: if something here no longer matches what you see, tell us and we'll fix it.
Can I install ROS 2 Jazzy on JetPack 6?
Not from the official apt repository: Jazzy's binary packages are built for Ubuntu 24.04, and JetPack 6 is Ubuntu 22.04. REP 2000 lists Jazzy on 22.04 only as Tier 3 (build from source) and only for amd64, so on an arm64 Jetson you are on your own. Run Jazzy in a container on JetPack 6 (jetson-containers has Jazzy images for JetPack 6), or move the Jetson to JetPack 7.2, which is Ubuntu 24.04.
Can I install ROS 2 Humble on JetPack 7?
Not natively: Humble's packages target Ubuntu 22.04 and JetPack 7.2 is Ubuntu 24.04. Use a Humble container, or port to Jazzy, which is supported until May 2029 while Humble ends in May 2027.
Can I run ROS 1 Noetic on a Jetson Orin?
Only in a container. Noetic was built for Ubuntu 20.04 (JetPack 5), has no packages for JetPack 6 or 7, and reached end of life on May 31, 2025.
Does ROS 2 use the Jetson GPU automatically?
No. ROS 2 only moves messages between nodes. A node uses the GPU when it runs CUDA, TensorRT or a GPU framework such as PyTorch, or when you use NVIDIA's Isaac ROS packages, which do their processing on the GPU.
Should I install ros-humble-desktop or ros-humble-ros-base on a Jetson?
ros-base on a robot. It has the communication libraries, messages and command-line tools without RViz and Qt, which saves memory the CPU and GPU share. Run RViz on a laptop on the same network.
Which Isaac ROS version works with JetPack 6.2?
Isaac ROS 3.2, which targets ROS 2 Humble on JetPack 6.1 and 6.2 for Jetson Orin. On an Orin, the newer lines need JetPack 7.2: Isaac ROS 4.6 (Jazzy) and 5.x (Lyrical), as of December 2026.
Why does colcon build freeze my Jetson Orin Nano?
colcon builds several packages at once, each with one compiler job per CPU core, and the 8GB of shared memory runs out. Build with MAKEFLAGS=-j2 and --parallel-workers 1, and add a swap file on NVMe.
How do I uninstall ROS 2 from a Jetson?
Run sudo apt remove '~nros-humble-*' && sudo apt autoremove (use jazzy for Jazzy). To remove the repository too, run sudo apt remove ros2-apt-source, then sudo apt update.
Can a Jetson running Humble talk to a laptop running Jazzy?
Sometimes, for simple standard messages, but communication between different ROS 2 distros isn't guaranteed. Use the same distro, domain ID and RMW on both machines.
From the lab bench. To the entire fleet.
Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.
Free for up to 3 machines · Then pay as you go