Installing ROS2 on Jetson Xavier

Hardware: Jetson AGX Xavier, Jetpack 5.1-b147 Deepstream 6.2
Tegra release info: `R35 (release), REVISION: 2.1, GCID: 32413640, BOARD: t186ref, EABI: aarch64, DATE: Tue Jan

Hi I want to use ROS2 as a minimal middleware solutiuon on my hardware (without instaling in fancy ways like in a Docker)

I went to the getting started page here

and it says the JP version is 5.1.2 I’m not sure if this is compatible with my setup (mentioned above)

As i Understand the version need to install is ROS2 Humble

The instructions on the buildfarm webpage says

  1. Set Locale
  2. Instlall Deps
  3. Setup source

and the the installation instructions

  1. sudo apt update
  2. sudo apt install ros-humble-ros-base

Is this sufficent to instal the bare bones communication backbone with no gui tools or packages.
the aim is to purely use ROS as a middleware between deepstream and various state machines and comms gateways between hardware interfaces.

Thank you.


I tried the build farm way it seem to work only takes about 100 mb it seems

ganindu@ubuntu:/usr/share$ du -h -d 1  /opt/ros/
107M	/opt/ros/humble
107M	/opt/ros/

Hi @ganinduN

You can install ROS 2 by following the provided documentation. Have you checked if the buildfarm installation was completed successfully?

When you add the repository to your apt sources, there is a missing " on the code.
please use the line below. (this mistyping will be fixed soon)

echo 'deb focal main' | sudo tee -a "/etc/apt/sources.list"

Let me know if fix your issue